mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
Fix breakpoint test file.
This commit is contained in:
parent
2cd2872274
commit
3c1e868165
1 changed files with 3 additions and 3 deletions
|
@ -1,14 +1,14 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Breakpoint } from "../types";
|
import { Breakpoint } from "../types";
|
||||||
import type { BreakpointSize } from "../types/Breakpoint/Breakpoint.svelte";
|
import type { BreakpointProps } from "../types/Breakpoint/Breakpoint.svelte";
|
||||||
|
|
||||||
let size: BreakpointSize;
|
let size: BreakpointProps["size"];
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Breakpoint
|
<Breakpoint
|
||||||
bind:size
|
bind:size
|
||||||
let:size="{currentSize}"
|
let:size="{currentSize}"
|
||||||
on:match="{(e) => {
|
on:change="{(e) => {
|
||||||
console.log(e.detail);
|
console.log(e.detail);
|
||||||
}}"
|
}}"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue