mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
chore: v11 NumberInput
For better compatibility with existing codebases size `xl` is still supported.
This commit is contained in:
parent
c23782b161
commit
9f32d57353
5 changed files with 8 additions and 10 deletions
|
@ -7580,7 +7580,7 @@
|
|||
"name": "size",
|
||||
"kind": "let",
|
||||
"description": "Set the size of the input",
|
||||
"type": "\"sm\" | \"xl\"",
|
||||
"type": "\"sm\" | \"lg\"",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
|
|
|
@ -51,9 +51,9 @@ Set `value` to `null` to denote "no value."
|
|||
|
||||
<NumberInput readonly label="Clusters" value={0} />
|
||||
|
||||
## Extra-large size
|
||||
## Large size
|
||||
|
||||
<NumberInput size="xl" label="Clusters" value={0} />
|
||||
<NumberInput size="lg" label="Clusters" value={0} />
|
||||
|
||||
## Small size
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue