mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11: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
|
@ -29,13 +29,13 @@
|
|||
{...$$props}
|
||||
id="tile-1"
|
||||
name="tiles"
|
||||
bind:selected={selectedTile1}
|
||||
on:select={({ detail }) => {
|
||||
bind:selected="{selectedTile1}"
|
||||
on:select="{({ detail }) => {
|
||||
console.log('on:select', detail);
|
||||
}}
|
||||
on:deselect={({ detail }) => {
|
||||
}}"
|
||||
on:deselect="{({ detail }) => {
|
||||
console.log('on:deselect', detail);
|
||||
}}>
|
||||
}}">
|
||||
Multi-select Tile
|
||||
</SelectableTile>
|
||||
<SelectableTile {...$$props} id="tile-2" name="tiles">
|
||||
|
@ -48,7 +48,11 @@
|
|||
{:else if story === 'selectable'}
|
||||
<TileGroup legend="Selectable Tile Group" bind:selected>
|
||||
{#each radioTiles as { value, id, labelText }, i (id)}
|
||||
<RadioTile {...$$props} {value} {id} {labelText}>
|
||||
<RadioTile
|
||||
{...$$props}
|
||||
value="{value}"
|
||||
id="{id}"
|
||||
labelText="{labelText}">
|
||||
Selectable Tile
|
||||
</RadioTile>
|
||||
{/each}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue