fix: add labels variants for Footnote and Caption
This commit is contained in:
@@ -12,6 +12,7 @@ export default function Caption({
|
||||
textAlign,
|
||||
textTransform,
|
||||
uppercase,
|
||||
type,
|
||||
...props
|
||||
}: CaptionProps) {
|
||||
const Comp = asChild ? Slot : "p"
|
||||
@@ -20,6 +21,7 @@ export default function Caption({
|
||||
className,
|
||||
textTransform,
|
||||
uppercase,
|
||||
type,
|
||||
})
|
||||
: captionVariants({
|
||||
className,
|
||||
@@ -27,6 +29,7 @@ export default function Caption({
|
||||
textTransform,
|
||||
textAlign,
|
||||
uppercase,
|
||||
type,
|
||||
})
|
||||
return <Comp className={classNames} {...props} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user