mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-06 06:58:04 +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">
|
||||
import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
|
||||
import Check from 'svelte-radix/Check.svelte';
|
||||
import { CheckIcon } from 'lucide-svelte';
|
||||
import { cn } from '@/utils/cn';
|
||||
|
||||
type $$Props = ContextMenuPrimitive.CheckboxItemProps;
|
||||
@ -28,7 +28,7 @@
|
||||
>
|
||||
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
||||
<ContextMenuPrimitive.CheckboxIndicator>
|
||||
<Check class="h-4 w-4" />
|
||||
<CheckIcon class="h-4 w-4" />
|
||||
</ContextMenuPrimitive.CheckboxIndicator>
|
||||
</span>
|
||||
<slot />
|
||||
|
Loading…
x
Reference in New Issue
Block a user