mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +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/NumberInput/NumberInput.svelte.d.ts
vendored
4
types/NumberInput/NumberInput.svelte.d.ts
vendored
|
@ -7,6 +7,7 @@ export interface NumberInputProps
|
|||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["input"]> {
|
||||
/**
|
||||
* Set the size of the input
|
||||
* @default undefined
|
||||
*/
|
||||
size?: "sm" | "xl";
|
||||
|
||||
|
@ -24,11 +25,13 @@ export interface NumberInputProps
|
|||
|
||||
/**
|
||||
* Specify the maximum value
|
||||
* @default undefined
|
||||
*/
|
||||
max?: number;
|
||||
|
||||
/**
|
||||
* Specify the minimum value
|
||||
* @default undefined
|
||||
*/
|
||||
min?: number;
|
||||
|
||||
|
@ -130,6 +133,7 @@ export interface NumberInputProps
|
|||
|
||||
/**
|
||||
* Specify a name attribute for the input
|
||||
* @default undefined
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue