@table-library/react-table-library
Version:
react-table-library
12 lines (11 loc) • 544 B
TypeScript
import * as React from 'react';
import { TableNode } from '@table-library/react-table-library/types/table';
import { Sort, SortOptionsIcon } from '@table-library/react-table-library/types/sort';
declare type SortButtonProps<T extends TableNode> = {
sort: Sort<T>;
sortKey: string;
sortIcon: SortOptionsIcon;
children: React.ReactNode;
};
export declare const SortButton: <T extends TableNode>({ sort, sortKey, sortIcon, children, }: SortButtonProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
export {};