ExpanderButton.d.ts 397 B

1234567891011
  1. import { ExpandableIcon } from './types';
  2. type ExpanderButtonProps<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 ExpanderButton<T>({ disabled, expanded, expandableIcon, id, row, onToggled, }: ExpanderButtonProps<T>): JSX.Element;
  11. export default ExpanderButton;