mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
📦 Update context-menu-checkbox-item to use lucide-svelte `CheckIcon
`
This commit is contained in:
parent
45e84ae288
commit
6cb2e3944c
@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
|
import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
|
||||||
import Check from 'svelte-radix/Check.svelte';
|
import { CheckIcon } from 'lucide-svelte';
|
||||||
import { cn } from '@/utils/cn';
|
import { cn } from '@/utils/cn';
|
||||||
|
|
||||||
type $$Props = ContextMenuPrimitive.CheckboxItemProps;
|
type $$Props = ContextMenuPrimitive.CheckboxItemProps;
|
||||||
@ -28,7 +28,7 @@
|
|||||||
>
|
>
|
||||||
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
||||||
<ContextMenuPrimitive.CheckboxIndicator>
|
<ContextMenuPrimitive.CheckboxIndicator>
|
||||||
<Check class="h-4 w-4" />
|
<CheckIcon class="h-4 w-4" />
|
||||||
</ContextMenuPrimitive.CheckboxIndicator>
|
</ContextMenuPrimitive.CheckboxIndicator>
|
||||||
</span>
|
</span>
|
||||||
<slot />
|
<slot />
|
||||||
|
Loading…
Reference in New Issue
Block a user