mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +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
|
@ -5,17 +5,17 @@
|
|||
let openDelete = false;
|
||||
</script>
|
||||
|
||||
<Button on:click="{() => (openCreate = true)}">Create database</Button>
|
||||
<Button kind="danger-tertiary" on:click="{() => (openDelete = true)}">
|
||||
<Button on:click={() => (openCreate = true)}>Create database</Button>
|
||||
<Button kind="danger-tertiary" on:click={() => (openDelete = true)}>
|
||||
Delete database
|
||||
</Button>
|
||||
|
||||
<Modal
|
||||
bind:open="{openCreate}"
|
||||
bind:open={openCreate}
|
||||
modalHeading="Create database"
|
||||
primaryButtonText="Confirm"
|
||||
secondaryButtonText="Cancel"
|
||||
on:click:button--secondary="{() => (openCreate = false)}"
|
||||
on:click:button--secondary={() => (openCreate = false)}
|
||||
on:open
|
||||
on:close
|
||||
on:submit
|
||||
|
@ -25,11 +25,11 @@
|
|||
|
||||
<Modal
|
||||
danger
|
||||
bind:open="{openDelete}"
|
||||
bind:open={openDelete}
|
||||
modalHeading="Delete database"
|
||||
primaryButtonText="Delete"
|
||||
secondaryButtonText="Cancel"
|
||||
on:click:button--secondary="{() => (openDelete = false)}"
|
||||
on:click:button--secondary={() => (openDelete = false)}
|
||||
on:open
|
||||
on:close
|
||||
on:submit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue