chore(prettier): use svelteStrictMode

This commit is contained in:
Eric Liu 2020-09-04 16:35:49 -07:00
commit 42b8159b1c
182 changed files with 2020 additions and 1912 deletions

View file

@ -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