mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 12:49:20 +00:00
chore: update value prop description [ci skip]
This commit is contained in:
parent
c54a98e193
commit
d69cd37de4
4 changed files with 29 additions and 29 deletions
|
@ -2561,9 +2561,9 @@ export type NumberInputTranslationId = "increment" | "decrement";
|
|||
### Props
|
||||
|
||||
| Prop name | Kind | Reactive | Type | Default value | Description |
|
||||
| :-------------- | :----------------- | :------- | :-------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------ |
|
||||
| :-------------- | :----------------- | :------- | :-------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------- |
|
||||
| ref | <code>let</code> | Yes | <code>null | HTMLInputElement</code> | <code>null</code> | Obtain a reference to the input HTML element |
|
||||
| value | <code>let</code> | Yes | <code>null | number</code> | <code>null</code> | Specify the input value.<br />Type `null` denotes "no value" |
|
||||
| value | <code>let</code> | Yes | <code>null | number</code> | <code>null</code> | Specify the input value.<br />Use `null` to denote "no value" |
|
||||
| size | <code>let</code> | No | <code>"sm" | "xl"</code> | <code>undefined</code> | Set the size of the input |
|
||||
| step | <code>let</code> | No | <code>number</code> | <code>1</code> | Specify the step increment |
|
||||
| max | <code>let</code> | No | <code>number</code> | <code>undefined</code> | Specify the maximum value |
|
||||
|
|
|
@ -6969,7 +6969,7 @@
|
|||
{
|
||||
"name": "value",
|
||||
"kind": "let",
|
||||
"description": "Specify the input value.\nType `null` denotes \"no value\"",
|
||||
"description": "Specify the input value.\nUse `null` to denote \"no value\"",
|
||||
"type": "null | number",
|
||||
"value": "null",
|
||||
"isFunction": false,
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
/**
|
||||
* Specify the input value.
|
||||
* Type `null` denotes "no value"
|
||||
* Use `null` to denote "no value"
|
||||
* @type {null | number}
|
||||
*/
|
||||
export let value = null;
|
||||
|
|
2
types/NumberInput/NumberInput.svelte.d.ts
vendored
2
types/NumberInput/NumberInput.svelte.d.ts
vendored
|
@ -13,7 +13,7 @@ export interface NumberInputProps
|
|||
|
||||
/**
|
||||
* Specify the input value.
|
||||
* Type `null` denotes "no value"
|
||||
* Use `null` to denote "no value"
|
||||
* @default null
|
||||
*/
|
||||
value?: null | number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue