mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
chore(prettier): use svelteStrictMode
This commit is contained in:
parent
322b238cf0
commit
42b8159b1c
182 changed files with 2020 additions and 1912 deletions
|
@ -15,9 +15,9 @@
|
|||
</script>
|
||||
|
||||
<Form
|
||||
on:submit={(event) => {
|
||||
on:submit="{(event) => {
|
||||
console.log('on:submit', event);
|
||||
}}>
|
||||
}}">
|
||||
<FormGroup {...$$props}>
|
||||
<Checkbox id="checkbox-0" labelText="Checkbox Label" checked />
|
||||
<Checkbox id="checkbox-1" labelText="Checkbox Label" />
|
||||
|
@ -26,10 +26,10 @@
|
|||
<NumberInput
|
||||
id="number-input-1"
|
||||
label="Number Input"
|
||||
min={0}
|
||||
max={100}
|
||||
value={50}
|
||||
step={10} />
|
||||
min="{0}"
|
||||
max="{100}"
|
||||
value="{50}"
|
||||
step="{10}" />
|
||||
<FormGroup legendText="Toggle heading">
|
||||
<Toggle id="toggle-1" />
|
||||
<Toggle id="toggle-2" disabled />
|
||||
|
@ -93,7 +93,7 @@
|
|||
id="text-area"
|
||||
labelText="Text Area label"
|
||||
placeholder="Placeholder text"
|
||||
rows={4}
|
||||
cols={50} />
|
||||
rows="{4}"
|
||||
cols="{50}" />
|
||||
<Button type="submit">Submit</Button>
|
||||
</Form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue