You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte-kit-vice/src/uix/eidos/components/context-menu/context-menu-item.svelte

13 lines
532 B

<script lang="ts">
/**
* `data-animation-style="fade"` enrolls the item in the Content's event-driven
* cascade (staggered fade-in on open). Override the preset, or set the
* Content's `--motion-stagger-each: 0` for a parallel fade.
*/
import * as ContextMenu from '$soma/components/context-menu';
import type { ContextMenuItemProps } from './types';
let { children, ...rest }: ContextMenuItemProps = $props();
</script>
<ContextMenu.Item data-animation-style="fade" {...rest}>{@render children?.()}</ContextMenu.Item>

Powered by TurnKey Linux.