mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -22,7 +22,7 @@
|
|||
/>
|
||||
<ProgressStep
|
||||
complete
|
||||
bind:current="{thirdStepCurrent}"
|
||||
bind:current={thirdStepCurrent}
|
||||
label="Step 3"
|
||||
description="The progress indicator will listen for clicks on the steps"
|
||||
/>
|
||||
|
@ -34,10 +34,10 @@
|
|||
|
||||
<div style="margin: var(--cds-layout-02) 0">
|
||||
<Button
|
||||
kind="{currentIndex === 2 ? 'secondary' : 'primary'}"
|
||||
on:click="{() => {
|
||||
kind={currentIndex === 2 ? "secondary" : "primary"}
|
||||
on:click={() => {
|
||||
currentIndex = currentIndex === 2 ? 0 : 2;
|
||||
}}"
|
||||
}}
|
||||
>
|
||||
Set currentIndex to
|
||||
{currentIndex === 2 ? 0 : 2}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue