goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
28 lines • 855 B
TypeScript
import { FC } from 'react';
import { ButtonProps } from '../../Button';
import { DataGridStyles } from '../../../theme';
export interface DataGridToolbarProps {
buttons?: ButtonProps[];
manageRowProps?: {
selectedRows?: string[];
rows?: Array<{
[key: string]: unknown;
}>;
onDuplicate?: () => void;
onDelete?: () => void;
onManage?: () => void;
onShow?: () => void;
onExport?: () => void;
handleClose?: () => void;
permissions?: {
access: 'no-access' | 'read' | 'write';
} | undefined;
};
styles?: DataGridStyles;
permissions?: {
access: 'no-access' | 'read' | 'write';
} | undefined;
}
declare const DataGridToolbar: FC<DataGridToolbarProps>;
export default DataGridToolbar;
//# sourceMappingURL=index.d.ts.map