feat(SW-3247): Move Table component to design-system * Move Table component to design-system Approved-by: Bianca Widstam
15 lines
402 B
TypeScript
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
|
|
}
|