Files
web/components/TempDesignSystem/Text/Body/index.tsx

18 lines
325 B
TypeScript

import { bodyVariants } from "./variants"
import type { BodyProps } from "./body"
export default function Body({
children,
className = "",
color,
textTransform,
}: BodyProps) {
const classNames = bodyVariants({
className,
color,
textTransform,
})
return <p className={classNames}>{children}</p>
}