TableCellExpander.d.ts 386 B

1234567891011
  1. import { ExpandableIcon } from './types';
  2. type CellExpanderProps<T> = {
  3. disabled: boolean;
  4. expanded: boolean;
  5. expandableIcon: ExpandableIcon;
  6. id: string | number;
  7. row: T;
  8. onToggled: (row: T) => void;
  9. };
  10. declare function CellExpander<T>({ row, expanded, expandableIcon, id, onToggled, disabled, }: CellExpanderProps<T>): JSX.Element;
  11. export default CellExpander;