refactor: icons
This commit is contained in:
parent
1541813792
commit
af5e5c2c2c
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { ArrowUpRight } from 'lucide-svelte';
|
||||
import ArrowUpRight from 'lucide-svelte/icons/arrow-up-right';
|
||||
import type { HTMLAnchorAttributes } from 'svelte/elements';
|
||||
import { Drawer } from 'vaul-svelte';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { Menu } from 'lucide-svelte';
|
||||
import Menu from 'lucide-svelte/icons/menu';
|
||||
|
||||
import { navigation } from '$lib/config';
|
||||
|
||||
|
@ -11,9 +11,9 @@
|
|||
|
||||
<Drawer.Root>
|
||||
<Drawer.Trigger asChild let:builder aria-label="open mobile menu">
|
||||
<Button class="sm:hidden" builders={[builder]} variant="outline" size="icon"
|
||||
><Menu class="h-4 w-4" /></Button
|
||||
>
|
||||
<Button class="sm:hidden" builders={[builder]} variant="outline" size="icon">
|
||||
<Menu class="h-4 w-4" />
|
||||
</Button>
|
||||
</Drawer.Trigger>
|
||||
<Drawer.Content>
|
||||
<div class="container mx-auto">
|
||||
|
|
Loading…
Add table
Reference in a new issue