mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 03:38:54 +01:00
chore(components): improve props jsdoc
This commit is contained in:
@@ -54,7 +54,8 @@ export interface CommandPaletteProps<G, T> extends Pick<ComboboxRootProps, 'as'
|
||||
placeholder?: InputProps['placeholder']
|
||||
/**
|
||||
* Display a close button in the input (useful when inside a `UModal`).
|
||||
* @defaultValue false ({ size: 'md', color: 'gray', variant: 'ghost' })
|
||||
* Will render with `{ size: 'md', color: 'gray', variant: 'ghost' }`.
|
||||
* @defaultValue false
|
||||
*/
|
||||
close?: ButtonProps | boolean
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user