(props: TableProps)
| 34 | } |
| 35 | |
| 36 | export function Table(props: TableProps) { |
| 37 | return ( |
| 38 | <ResizableTableContainer |
| 39 | onScroll={props.onScroll} |
| 40 | className={twMerge( |
| 41 | 'w-full max-h-[320px] overflow-auto scroll-pt-[2.281rem] relative bg-white dark:bg-neutral-900 box-border border border-neutral-300 dark:border-neutral-700 rounded-lg font-sans', |
| 42 | props.className |
| 43 | )}> |
| 44 | <AriaTable |
| 45 | {...props} |
| 46 | className="border-separate border-spacing-0 box-border overflow-hidden has-[>[data-empty]]:h-full" |
| 47 | /> |
| 48 | </ResizableTableContainer> |
| 49 | ); |
| 50 | } |
| 51 | |
| 52 | const columnStyles = tv({ |
| 53 | extend: focusRing, |
nothing calls this directly
no outgoing calls
no test coverage detected