import { CompoundStylesApiProps, ExtendComponent, Factory, MantineThemeComponent, MenuProps } from '@mantine/core'; import { ReactNode } from 'react'; import { TableAction } from '../Table.types.js'; export type TableActionsListStylesNames = 'actionsTarget' | 'actionsDropdown' | 'actionsTooltip' | 'actionsGroup' | 'actionsGroupLabel' | 'actionsGroupDivider' | 'actionsGroupItems'; export interface TableActionsListProps extends Omit, CompoundStylesApiProps { actions: TableAction[]; /** * Label for the more menu * @default 'More' when variant is 'split', 'Actions' when variant is 'combined' */ label?: string; /** * Label for the primary actions group when variant is 'combined' * @default '' */ primaryGroupLabel?: string; icon?: ReactNode; } type TableActionsListFactory = Factory<{ props: TableActionsListProps; ref: HTMLDivElement; stylesNames: TableActionsListStylesNames; compound: true; variant: 'split' | 'combined'; }>; export declare function TableActionsList(props: TableActionsListProps): import("react").JSX.Element; export declare namespace TableActionsList { var extend: (input: ExtendComponent) => MantineThemeComponent; } export {}; //# sourceMappingURL=TableActionsList.d.ts.map