chore(components): improve tsdoc

This commit is contained in:
Benjamin Canac
2025-03-04 11:58:31 +01:00
parent 629c54261a
commit 25e503bc83
38 changed files with 274 additions and 1 deletions

View File

@@ -20,8 +20,17 @@ export interface BadgeProps extends Omit<UseComponentIconsProps, 'loading' | 'lo
*/
as?: any
label?: string | number
/**
* @defaultValue 'primary'
*/
color?: BadgeVariants['color']
/**
* @defaultValue 'solid'
*/
variant?: BadgeVariants['variant']
/**
* @defaultValue 'md'
*/
size?: BadgeVariants['size']
class?: any
ui?: Partial<typeof badge.slots>