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/TR.tsx
Normal file
14
packages/design-system/lib/components/Table/TR.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import styles from './table.module.css'
|
||||
|
||||
function TR({
|
||||
children,
|
||||
...rest
|
||||
}: React.PropsWithChildren<React.HTMLAttributes<HTMLTableRowElement>>) {
|
||||
return (
|
||||
<tr className={styles.tr} {...rest}>
|
||||
{children}
|
||||
</tr>
|
||||
)
|
||||
}
|
||||
|
||||
export default TR
|
||||
Reference in New Issue
Block a user