Debian Codegraph @

node/@patternfly/react-table/dist/esm/components/Table/ActionsColumn.d.ts

raw
1 /// <reference types="react" />
2 import { IAction, IExtraData, IRowData } from './TableTypes';
3 export interface CustomActionsToggleProps {
4 onToggle: (event: React.MouseEvent | React.KeyboardEvent) => void;
5 isOpen: boolean;
6 isDisabled: boolean;
7 toggleRef: React.Ref<any>;
8 }
9 export interface ActionsColumnProps extends Omit<React.HTMLProps<HTMLElement>, 'label'> {
10 /** Actions to be rendered within or without the action dropdown */
11 items: IAction[];
12 /** Indicates whether the actions dropdown is disabled */
13 isDisabled?: boolean;
14 /** Data of the row the action dropdown is located */
15 rowData?: IRowData;
16 /** Extra data of a row */
17 extraData?: IExtraData;
18 /** Custom actions toggle for the actions dropdown */
19 actionsToggle?: (props: CustomActionsToggleProps) => React.ReactNode;
20 /** Additional properties for the actions dropdown popper */
21 popperProps?: any;
22 /** @hide Forwarded ref */
23 innerRef?: React.Ref<any>;
24 /** Ref to forward to the first item in the popup menu */
25 firstActionItemRef?: React.Ref<HTMLButtonElement>;
26 /** Flag indicating that the dropdown's onOpenChange callback should not be called. */
27 isOnOpenChangeDisabled?: boolean;
28 }
29 export declare const ActionsColumn: import("react").ForwardRefExoticComponent<Omit<ActionsColumnProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
30 //# sourceMappingURL=ActionsColumn.d.ts.map