digitinary-ui
Version:
Digitinary UI Library
20 lines (19 loc) • 2.02 kB
TypeScript
import { SingleSortIconProps, setSingleSortProps, ResizableColumnProps, DraggableColumnProps, SelectAllRowsProps, SelectRowProps, ExpandableSectionProps, setMaltiSortProps, MaltiSortIconProps } from './types';
export declare const getSingleSortIcon: ({ columnName, sortable, onClick, currentHeadCell, sort, }: SingleSortIconProps) => JSX.Element | null;
export declare const getMaltiSortIcon: ({ columnName, sortable, onClick, sort, }: MaltiSortIconProps) => JSX.Element | null;
export declare const setSingleSortValue: ({ headCell, currentHeadCell, setCurrentHeadCell, sort, setSort, }: setSingleSortProps) => void;
export declare const setMaltiSortValue: ({ headCell, sort, setSort }: setMaltiSortProps) => void;
export declare const ResizableColumn: ({ header, resizable }: ResizableColumnProps) => import("react/jsx-runtime").JSX.Element;
export declare const DraggableColumn: ({ index, moveColumn, children, isDragAndDropEnabled, header, resizable, currentHeadCell, setCurrentHeadCell, sort, setSort, sortable, maltiSort, }: DraggableColumnProps) => import("react/jsx-runtime").JSX.Element;
export declare const updatedData: (rowIndex: number, columnId: string, value: string | number | Function | [
] | Object, setData: (data: any) => void) => void;
export declare const toggleRowExpanded: (rowId: string, setExpandedRows: (rows: any) => void) => void;
export declare const SelectAllRows: ({ selectable, data, selectedRows, setSelectedRows, }: SelectAllRowsProps) => import("react/jsx-runtime").JSX.Element;
export declare const SelectRow: ({ rowIndex, selectable, selectedRows, setSelectedRows, }: SelectRowProps) => import("react/jsx-runtime").JSX.Element;
export declare const ExpandableSection: <TData extends {
id: string;
}>({ expandedRows, selectable, columns, expandable, row, ExpandComponent, }: ExpandableSectionProps<TData>) => JSX.Element;
export declare const NoDataMessage: ({ data, message }: {
data: any;
message?: string | undefined;
}) => import("react/jsx-runtime").JSX.Element | null;