fix(label): correct size class for large label from 'text-lg' to 'text-xl'
This commit is contained in:
parent
607ec39de2
commit
67e519ce9d
2 changed files with 3 additions and 3 deletions
|
@ -22,9 +22,9 @@ import { Button } from '@/components/ui/button';
|
||||||
buttonText=[No Button shown if this is null]
|
buttonText=[No Button shown if this is null]
|
||||||
iconName=[Any Icon Name from Lucide in UpperCamelCase or default if null]
|
iconName=[Any Icon Name from Lucide in UpperCamelCase or default if null]
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
duration: 5000,
|
duration: 5000,
|
||||||
},
|
},
|
||||||
|
|
|
@ -18,7 +18,7 @@ function Label({ className, size = 'default', ...props }: LabelProps) {
|
||||||
size === 'small'
|
size === 'small'
|
||||||
? 'text-sm'
|
? 'text-sm'
|
||||||
: size === 'large'
|
: size === 'large'
|
||||||
? 'text-lg'
|
? 'text-xl'
|
||||||
: 'text-base',
|
: 'text-base',
|
||||||
/* Background */
|
/* Background */
|
||||||
'',
|
'',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue