mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
feat(combo-box): support warning state
This commit is contained in:
parent
111ea02570
commit
51eda02443
5 changed files with 60 additions and 2 deletions
12
types/ComboBox/ComboBox.d.ts
vendored
12
types/ComboBox/ComboBox.d.ts
vendored
|
@ -73,6 +73,18 @@ export interface ComboBoxProps
|
|||
*/
|
||||
invalid?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` to indicate an warning state
|
||||
* @default false
|
||||
*/
|
||||
warn?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the warning state text
|
||||
* @default ""
|
||||
*/
|
||||
warnText?: string;
|
||||
|
||||
/**
|
||||
* Set to `true` to enable the light variant
|
||||
* @default false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue