mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🎨 Add shadcn SVG component
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<script lang="ts">
|
||||
import type { IconProps } from "@/types/icon";
|
||||
|
||||
let props: IconProps = $props();
|
||||
</script>
|
||||
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 256 256"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
>
|
||||
<path fill="none" d="M0 0h256v256H0z" />
|
||||
<path
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="25"
|
||||
stroke-linecap="round"
|
||||
d="M208 128l-80 80M192 40L40 192"
|
||||
/>
|
||||
</svg>
|
||||
Reference in New Issue
Block a user