mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
feat(select): add warning state
This commit is contained in:
parent
3dfb391a73
commit
be30b0a019
5 changed files with 62 additions and 1 deletions
12
types/Select/Select.d.ts
vendored
12
types/Select/Select.d.ts
vendored
|
@ -54,6 +54,18 @@ export interface SelectProps
|
|||
*/
|
||||
invalidText?: string;
|
||||
|
||||
/**
|
||||
* Set to `true` to indicate an warning state
|
||||
* @default false
|
||||
*/
|
||||
warn?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the warning state text
|
||||
* @default ""
|
||||
*/
|
||||
warnText?: string;
|
||||
|
||||
/**
|
||||
* Specify the helper text
|
||||
* @default ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue