19 lines
398 B
TypeScript
19 lines
398 B
TypeScript
import { cva, type VariantProps } from "class-variance-authority"
|
|
|
|
import styles from "./tbody.module.css"
|
|
|
|
import type { PropsWithChildren } from "react"
|
|
|
|
export const tbodyVariants = cva(styles.tbody, {
|
|
variants: {
|
|
border: {
|
|
true: styles.border,
|
|
},
|
|
},
|
|
defaultVariants: {},
|
|
})
|
|
|
|
export interface TbodyProps
|
|
extends PropsWithChildren,
|
|
VariantProps<typeof tbodyVariants> {}
|