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:
Anton Gunnarsson
2025-08-13 14:52:56 +00:00
parent cd29e54098
commit d10fc5ed74
18 changed files with 40 additions and 40 deletions

View 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
}