UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

16 lines (13 loc) 606 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { IconButtonProps } from '../user-action/Button.js'; import { SortDirection } from '@tanstack/react-table'; import 'react'; type TableSortButtonProps = IconButtonProps & { sortDirection: SortDirection | false; invert?: boolean; }; /** * An Extension of the normal button that displays the sorting state right of the content */ declare const TableSortButton: ({ sortDirection, invert, color, className, ...buttonProps }: TableSortButtonProps) => react_jsx_runtime.JSX.Element; export { TableSortButton, type TableSortButtonProps };