import { ComponentPropsWithoutRef, ComponentPropsWithRef, HTMLAttributes } from 'react'; export type TableProps = ComponentPropsWithRef<'div'> & HTMLAttributes & TableOptions; export type TableTrProps = ComponentPropsWithoutRef<'tr'> & HTMLAttributes & TableTrOptions; interface TableOptions { /** * Add vertical divider between columns */ withColumnDivider?: boolean; /** * Add borders and elevation to the Table */ withElevation?: boolean; } interface TableTrOptions { /** * Change the cursor to pointer to indicate the row is clickable */ onClick?: (props?: unknown) => void; } export {};