Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Registrovat

Přihlásit se


Všechno Nové Registrovat Přihlásit se

Všechny gisty

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno

tahta / CustomIcon.svelte

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 1 month ago
This way we can define custom icon while mimicking lucide's api
1 <script lang="ts">
2 import type { IconProps } from '@lucide/svelte';
3
4 let { size = 24, color = 'currentColor', strokeWidth = 2, ...restProps }: IconProps = $props();
5 </script>
6
7 <svg
8 xmlns="http://www.w3.org/2000/svg"
9 width={size}
10 height={size}
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 31ms⋅

Čeština
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文