mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 07:21:46 +01:00
chore(components): improve tsdoc
This commit is contained in:
@@ -26,8 +26,17 @@ export interface InputProps extends UseComponentIconsProps {
|
||||
type?: InputHTMLAttributes['type']
|
||||
/** The placeholder text when the input is empty. */
|
||||
placeholder?: string
|
||||
/**
|
||||
* @defaultValue 'primary'
|
||||
*/
|
||||
color?: InputVariants['color']
|
||||
/**
|
||||
* @defaultValue 'outline'
|
||||
*/
|
||||
variant?: InputVariants['variant']
|
||||
/**
|
||||
* @defaultValue 'md'
|
||||
*/
|
||||
size?: InputVariants['size']
|
||||
required?: boolean
|
||||
autocomplete?: InputHTMLAttributes['autocomplete']
|
||||
|
||||
Reference in New Issue
Block a user