chore: v11 NumberInput

For better compatibility with existing codebases size `xl` is still supported.
This commit is contained in:
Gregor Wassmann 2023-03-28 19:30:16 +02:00 committed by Enrico Sacchetti
commit 9f32d57353
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796
5 changed files with 8 additions and 10 deletions

View file

@ -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,

View file

@ -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