Files
web/components/TempDesignSystem/Table/table.ts
2024-12-12 11:47:44 +01:00

15 lines
402 B
TypeScript

import type { VariantProps } from "class-variance-authority"
import type { tableVariants } from "./variants"
export interface TableProps
extends React.PropsWithChildren<React.HTMLAttributes<HTMLTableElement>>,
VariantProps<typeof tableVariants> {
width?: string
}
export interface THeadProps
extends React.PropsWithChildren<React.HTMLAttributes<HTMLTableCellElement>> {
width?: string
}