Última atividade 1 month ago

This way we can define custom icon while mimicking lucide's api

Revisão 5c2301941309689c1f22877de22830f1bc521b86

CustomIcon.svelte Bruto
1<script>
2 export let size = 24;
3 export let color = "currentColor";
4 export let strokeWidth = 2;
5</script>
6
7<svg
8 xmlns="http://www.w3.org/2000/svg"
9 width={size}
10 height={size}
11 viewBox="0 0 24 24"
12 fill="none"
13 stroke={color}
14 stroke-width={strokeWidth}
15 stroke-linecap="round"
16 stroke-linejoin="round"
17 {...$$restProps}
18>
19 <path d="M12 2L2 7l10 5 10-5-10-5z" />
20 <path d="M2 17l10 5 10-5" />
21 <path d="M2 12l10 5 10-5" />
22</svg>