feat(WEB-304): remaning UI from design system primitives
This commit is contained in:
@@ -9,6 +9,7 @@ export default function Title({
|
||||
color,
|
||||
hideEmpty = true,
|
||||
level = "h1",
|
||||
textAlign,
|
||||
textTransform,
|
||||
}: HeadingProps) {
|
||||
if (hideEmpty && !children) {
|
||||
@@ -18,6 +19,7 @@ export default function Title({
|
||||
const classNames = headingVariants({
|
||||
className,
|
||||
color,
|
||||
textAlign,
|
||||
textTransform,
|
||||
type: as ?? level,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user