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

@@ -19,8 +19,18 @@ export interface ChipProps {
as?: any
/** Display some text inside the chip. */
text?: string | number
/**
* @defaultValue 'primary'
*/
color?: ChipVariants['color']
/**
* @defaultValue 'md'
*/
size?: ChipVariants['size']
/**
* The position of the chip.
* @defaultValue 'top-right'
*/
position?: ChipVariants['position']
/** When `true`, keep the chip inside the component for rounded elements. */
inset?: boolean