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:
Eric Liu 2022-01-20 19:29:06 -08:00 committed by GitHub
commit 0d78c30b9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 373 additions and 260 deletions

View file

@ -26,6 +26,7 @@ export interface DropdownProps
/**
* Specify the selected item id
* @default undefined
*/
selectedId?: DropdownItemId;
@ -43,6 +44,7 @@ export interface DropdownProps
/**
* Specify the size of the dropdown field
* @default undefined
*/
size?: "sm" | "lg" | "xl";
@ -108,6 +110,7 @@ export interface DropdownProps
/**
* Specify the list box label
* @default undefined
*/
label?: string;
@ -119,6 +122,7 @@ export interface DropdownProps
/**
* Override the default translation ids
* @default undefined
*/
translateWithId?: (id: any) => string;
@ -130,6 +134,7 @@ export interface DropdownProps
/**
* Specify a name attribute for the list box
* @default undefined
*/
name?: string;