mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(types): include @default
annotations for props that are undefined
by default (#1020)
* chore(deps-dev): upgrade sveld to v0.12.1 * Run "yarn build:lib" * Re-run "yarn build:lib"
This commit is contained in:
parent
1f7b5560a8
commit
0d78c30b9d
64 changed files with 373 additions and 260 deletions
4
types/ComboBox/ComboBox.svelte.d.ts
vendored
4
types/ComboBox/ComboBox.svelte.d.ts
vendored
|
@ -24,6 +24,7 @@ export interface ComboBoxProps
|
|||
|
||||
/**
|
||||
* Set the selected item by value id
|
||||
* @default undefined
|
||||
*/
|
||||
selectedId?: ComboBoxItemId;
|
||||
|
||||
|
@ -41,6 +42,7 @@ export interface ComboBoxProps
|
|||
|
||||
/**
|
||||
* Set the size of the combobox
|
||||
* @default undefined
|
||||
*/
|
||||
size?: "sm" | "xl";
|
||||
|
||||
|
@ -112,6 +114,7 @@ export interface ComboBoxProps
|
|||
|
||||
/**
|
||||
* Override the default translation ids
|
||||
* @default undefined
|
||||
*/
|
||||
translateWithId?: (id: any) => string;
|
||||
|
||||
|
@ -123,6 +126,7 @@ export interface ComboBoxProps
|
|||
|
||||
/**
|
||||
* Specify a name attribute for the input
|
||||
* @default undefined
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue