Merged in feat/sw-3247-move-table-to-design-system (pull request #2636)
feat(SW-3247): Move Table component to design-system * Move Table component to design-system Approved-by: Bianca Widstam
This commit is contained in:
14
packages/design-system/lib/components/Table/table.ts
Normal file
14
packages/design-system/lib/components/Table/table.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user