ExpanderRow.d.ts 547 B

123456789101112
  1. import { CSSObject } from 'styled-components';
  2. import { ComponentProps, ExpandableRowsComponent } from './types';
  3. type ExpanderRowProps<T> = {
  4. data: T;
  5. ExpanderComponent: ExpandableRowsComponent<T>;
  6. extendedRowStyle: CSSObject;
  7. extendedClassNames: string;
  8. expanderComponentProps: ComponentProps;
  9. };
  10. declare function ExpanderRow<T>({ data, ExpanderComponent, expanderComponentProps, extendedRowStyle, extendedClassNames, }: ExpanderRowProps<T>): JSX.Element;
  11. declare const _default: typeof ExpanderRow;
  12. export default _default;