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

@@ -17,8 +17,17 @@ type ButtonVariants = VariantProps<typeof button>
export interface ButtonProps extends UseComponentIconsProps, Omit<LinkProps, 'raw' | 'custom'> {
label?: string
/**
* @defaultValue 'primary'
*/
color?: ButtonVariants['color']
/**
* @defaultValue 'solid'
*/
variant?: ButtonVariants['variant']
/**
* @defaultValue 'md'
*/
size?: ButtonVariants['size']
/** Render the button with equal padding on all sides. */
square?: boolean