mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(multi-select): support warning state
This commit is contained in:
parent
038dd3ad82
commit
ae7616edf8
5 changed files with 75 additions and 3 deletions
12
types/MultiSelect/MultiSelect.d.ts
vendored
12
types/MultiSelect/MultiSelect.d.ts
vendored
|
@ -130,6 +130,18 @@ export interface MultiSelectProps extends svelte.JSX.HTMLAttributes<HTMLElementT
|
|||
*/
|
||||
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