Skip to content

Commit

Permalink
fix: check
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Dec 10, 2024
1 parent 435be18 commit 759424d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { box, mergeProps } from "svelte-toolbelt";
import type { ContextMenuContentProps } from "../types.js";
import type { ContextMenuContentStaticProps } from "../types.js";
import { CONTEXT_MENU_TRIGGER_ATTR, useMenuContent } from "$lib/bits/menu/menu.svelte.js";
import { useId } from "$lib/internal/use-id.js";
import { noop } from "$lib/internal/noop.js";
Expand All @@ -22,7 +22,7 @@
onEscapeKeydown = noop,
forceMount = false,
...restProps
}: ContextMenuContentProps = $props();
}: ContextMenuContentStaticProps = $props();
let isMounted = $state(false);
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/content/transitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Learn how to use transitions with Bits UI components.
---

<script>
import Callout from '$lib/components/Callout.svelte';
import Callout from '$lib/components/callout.svelte';
</script>

Svelte Transitions are one of the awesome features of Svelte. Unfortunately, they don't play very nicely with components, due to the fact that they rely on various directives like `in:`, `out:`, and `transition:`, which aren't supported by components.
Expand Down

0 comments on commit 759424d

Please sign in to comment.