UNPKG

@itwin/itwinui-react

Version:

A react component library for iTwinUI

4 lines (3 loc) 369 B
import * as React from 'react'; import type { CellProps, Hooks, Row } from '../../../react-table/react-table.js'; export declare const useExpanderCell: <T extends Record<string, unknown>>(subComponent?: (row: Row<T>) => React.ReactNode, expanderCell?: (cellProps: CellProps<T>) => React.ReactNode, isRowDisabled?: (rowData: T) => boolean) => (hooks: Hooks<T>) => void;