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
|
@ -1,5 +1,9 @@
|
|||
<script lang="ts">
|
||||
import { Breakpoint, breakpointObserver, breakpoints } from "carbon-components-svelte";
|
||||
import {
|
||||
Breakpoint,
|
||||
breakpointObserver,
|
||||
breakpoints,
|
||||
} from "carbon-components-svelte";
|
||||
import type { BreakpointProps } from "carbon-components-svelte/Breakpoint/Breakpoint.svelte";
|
||||
|
||||
let size: BreakpointProps["size"];
|
||||
|
@ -15,10 +19,10 @@
|
|||
|
||||
<Breakpoint
|
||||
bind:size
|
||||
let:size="{currentSize}"
|
||||
on:change="{(e) => {
|
||||
let:size={currentSize}
|
||||
on:change={(e) => {
|
||||
console.log(e.detail);
|
||||
}}"
|
||||
}}
|
||||
>
|
||||
{currentSize}
|
||||
</Breakpoint>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue