mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-22 05:03:44 +00:00
yarn build:docs
This commit is contained in:
parent
8136e0a74a
commit
657d01c47c
3 changed files with 45 additions and 44 deletions
9
types/NumberInput/NumberInput.svelte.d.ts
vendored
9
types/NumberInput/NumberInput.svelte.d.ts
vendored
|
@ -12,10 +12,11 @@ export interface NumberInputProps
|
|||
size?: "sm" | "xl";
|
||||
|
||||
/**
|
||||
* Specify the input value
|
||||
* @default ""
|
||||
* Specify the input value.
|
||||
* Type `null` denotes "no value"
|
||||
* @default null
|
||||
*/
|
||||
value?: number | string;
|
||||
value?: null | number;
|
||||
|
||||
/**
|
||||
* Specify the step increment
|
||||
|
@ -147,7 +148,7 @@ export interface NumberInputProps
|
|||
export default class NumberInput extends SvelteComponentTyped<
|
||||
NumberInputProps,
|
||||
{
|
||||
change: CustomEvent<number>;
|
||||
change: CustomEvent<null | number>;
|
||||
click: WindowEventMap["click"];
|
||||
mouseover: WindowEventMap["mouseover"];
|
||||
mouseenter: WindowEventMap["mouseenter"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue