@arkhas/inertia-datatable
Version:
A Laravel Inertia React Datatable component
12 lines (11 loc) • 409 B
TypeScript
interface DataTableViewOptionsProps {
columns: {
key: string;
label: string;
isVisible?: boolean;
toggable?: boolean;
}[];
onToggleColumnVisibility: (columnKey: string, isVisible: boolean) => void;
}
export declare function DataTableViewOptions({ columns, onToggleColumnVisibility, }: DataTableViewOptionsProps): import("react/jsx-runtime").JSX.Element;
export {};