Files
web/packages/design-system/lib/components/Table/TH.tsx
Anton Gunnarsson d10fc5ed74 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
2025-08-13 14:52:56 +00:00

14 lines
273 B
TypeScript

import styles from './table.module.css'
import type { THeadProps } from './table'
function TH({ children, width = 'auto', ...props }: THeadProps) {
return (
<th className={styles.th} style={{ width }} {...props}>
{children}
</th>
)
}
export default TH