chore(components): improve JSDoc

This commit is contained in:
Benjamin Canac
2024-06-11 18:23:56 +02:00
parent 655d9b2c97
commit ee3d2aa30f
27 changed files with 232 additions and 10 deletions

View File

@@ -14,6 +14,10 @@ type ButtonGroupVariants = VariantProps<typeof buttonGroup>
export interface ButtonGroupProps extends Omit<PrimitiveProps, 'asChild'> {
size?: ButtonProps['size']
/**
* The orientation the buttons are laid out.
* @defaultValue `'horizontal'`
*/
orientation?: ButtonGroupVariants['orientation']
class?: any
}