GridFooter.tsx16 lines · main
| 1 | import { PropsWithChildren } from 'react' |
| 2 | import { cn } from 'ui' |
| 3 | |
| 4 | export const GridFooter = ({ children, className }: PropsWithChildren<{ className?: string }>) => { |
| 5 | return ( |
| 6 | <div |
| 7 | aria-label="Table grid footer" |
| 8 | className={cn( |
| 9 | 'flex min-h-10 h-10 overflow-hidden overflow-x-auto items-center justify-between px-2 w-full border-t gap-x-8', |
| 10 | className |
| 11 | )} |
| 12 | > |
| 13 | {children} |
| 14 | </div> |
| 15 | ) |
| 16 | } |