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

@@ -18,6 +18,9 @@ export interface StepperItem {
value?: string | number
title?: string
description?: string
/**
* @IconifyIcon
*/
icon?: string
content?: string
disabled?: boolean
@@ -30,8 +33,18 @@ export interface StepperProps<T extends StepperItem> extends Pick<StepperRootPro
*/
as?: any
items: T[]
/**
* @defaultValue 'md'
*/
size?: StepperVariants['size']
/**
* @defaultValue 'primary'
*/
color?: StepperVariants['color']
/**
* The orientation of the stepper.
* @defaultValue 'horizontal'
*/
orientation?: StepperVariants['orientation']
/**
* The value of the step that should be active when initially rendered. Use when you do not need to control the state of the steps.