mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
test: fix svelte-check errors/hints
This commit is contained in:
parent
eaa1603d42
commit
cda0141f75
4 changed files with 10 additions and 74 deletions
|
@ -8,40 +8,17 @@
|
|||
{value}
|
||||
|
||||
<NumberInput
|
||||
disabled
|
||||
light
|
||||
min="{4}"
|
||||
max="{20}"
|
||||
value="{4}"
|
||||
label="Clusters"
|
||||
helperText="Clusters provisioned in your region"
|
||||
invalidText="Number must be between 4 and 20."
|
||||
on:change="{(e) => {
|
||||
console.log(e.detail); // null | number
|
||||
}}"
|
||||
/>
|
||||
|
||||
<NumberInput
|
||||
label="Clusters"
|
||||
helperText="Clusters provisioned in your region"
|
||||
/>
|
||||
|
||||
<NumberInput
|
||||
min="{4}"
|
||||
max="{20}"
|
||||
value="{4}"
|
||||
invalidText="Number must be between 4 and 20."
|
||||
helperText="Clusters provisioned in your region"
|
||||
label="Clusters (4 min, 20 max)"
|
||||
/>
|
||||
|
||||
<NumberInput hideLabel label="Clusters" />
|
||||
|
||||
<NumberInput light label="Clusters" />
|
||||
|
||||
<NumberInput mobile label="Clusters" />
|
||||
|
||||
<NumberInput size="xl" label="Clusters" />
|
||||
|
||||
<NumberInput size="sm" label="Clusters" />
|
||||
|
||||
<NumberInput invalid invalidText="An error occurred" label="Clusters" />
|
||||
|
||||
<NumberInput disabled label="Clusters" />
|
||||
|
||||
<NumberInputSkeleton />
|
||||
|
||||
<NumberInputSkeleton hideLabel />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue