feat(WEB-249): first iteration design system primitives (typography, grid)
This commit is contained in:
17
components/TempDesignSystem/Text/BiroScript/index.tsx
Normal file
17
components/TempDesignSystem/Text/BiroScript/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { biroScriptVariants } from "./variants"
|
||||
|
||||
import type { BiroScriptProps } from "./biroScript"
|
||||
|
||||
export default function BiroScript({
|
||||
children,
|
||||
className,
|
||||
color,
|
||||
type,
|
||||
}: BiroScriptProps) {
|
||||
const classNames = biroScriptVariants({
|
||||
className,
|
||||
color,
|
||||
type,
|
||||
})
|
||||
return <span className={classNames}>{children}</span>
|
||||
}
|
||||
Reference in New Issue
Block a user