UNPKG

@appkitreact/react-table-library

Version:

fork of react-table-library to support react 18 version

12 lines (11 loc) 540 B
import * as React from 'react'; import { TableNode } from '@appkitreact/react-table-library/types/table'; import { Sort, SortOptionsIcon } from '@appkitreact/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 {};