adizen-tanstack-table
Version:
Enhanced DataTable with TanStack Table
18 lines (17 loc) • 783 B
TypeScript
import type { TableTheme, ViewState } from "../types";
export declare const ViewSelector: ({ views, currentView, onViewSelect, onDeleteView, theme, }: {
views: ViewState[];
currentView: ViewState | null;
onViewSelect: (view: ViewState) => void;
onDeleteView: (viewId: string) => void;
theme: TableTheme;
}) => import("react/jsx-runtime").JSX.Element;
export declare const SaveViewDialog: ({ onSaveView, theme, }: {
onSaveView: (name: string, isDefault: boolean) => void;
theme: TableTheme;
}) => import("react/jsx-runtime").JSX.Element;
export declare const DeleteViewDialog: ({ viewToDelete, onConfirm, onCancel, }: {
viewToDelete: ViewState | null;
onConfirm: () => void;
onCancel: () => void;
}) => import("react/jsx-runtime").JSX.Element;