18 lines
344 B
TypeScript
18 lines
344 B
TypeScript
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>
|
|
}
|