mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
chore(prettier): use svelteStrictMode
This commit is contained in:
parent
322b238cf0
commit
42b8159b1c
182 changed files with 2020 additions and 1912 deletions
|
@ -27,13 +27,13 @@
|
|||
{...$$props}
|
||||
bind:ref
|
||||
bind:open
|
||||
on:open={() => {
|
||||
on:open="{() => {
|
||||
console.log('on:open');
|
||||
}}
|
||||
on:close={() => {
|
||||
}}"
|
||||
on:close="{() => {
|
||||
console.log('on:close');
|
||||
}}>
|
||||
<div slot="icon" class="custom-icon-class" />
|
||||
}}">
|
||||
<div slot="icon" class="custom-icon-class"></div>
|
||||
<p>
|
||||
This is some tooltip text. This box shows the maximum amount of text
|
||||
that should appear inside. If more room is needed please use a modal
|
||||
|
@ -47,16 +47,16 @@
|
|||
{:else if story === 'uncontrolled'}
|
||||
<Button
|
||||
style="padding: 15px 20px; margin: 4px 20px"
|
||||
on:click={() => {
|
||||
on:click="{() => {
|
||||
open = false;
|
||||
}}>
|
||||
}}">
|
||||
Hide
|
||||
</Button>
|
||||
<Button
|
||||
style="padding: 15px 20px; margin: 4px 20px"
|
||||
on:click={() => {
|
||||
on:click="{() => {
|
||||
open = true;
|
||||
}}>
|
||||
}}">
|
||||
Show
|
||||
</Button>
|
||||
<div style="padding: 15px 20px; margin: 4px 20px">
|
||||
|
@ -70,13 +70,13 @@
|
|||
{...$$props}
|
||||
bind:ref
|
||||
bind:open
|
||||
on:open={() => {
|
||||
on:open="{() => {
|
||||
console.log('on:open');
|
||||
}}
|
||||
on:close={() => {
|
||||
}}"
|
||||
on:close="{() => {
|
||||
console.log('on:close');
|
||||
}}
|
||||
icon={story === 'custom icon only' ? OverflowMenuVertical16 : undefined}>
|
||||
}}"
|
||||
icon="{story === 'custom icon only' ? OverflowMenuVertical16 : undefined}">
|
||||
<p>
|
||||
This is some tooltip text. This box shows the maximum amount of text
|
||||
that should appear inside. If more room is needed please use a modal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue