mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 06:37:42 +01:00
* Add useIconComponent, lucide-react * Add concept useIconComponent * add useIconComponents to packages * Add icon component * Add icon component * Add tests for react packages * Reset changes in icons * Add types * Add support for Icon components in Lucide Vue Next * update tests * Update tests * Enable Svelte component * Fix lucide-react-native tests * Update Solid package * update snapshots * Add docs * add docs * Update tests * Formatting * Formatting * Update package lock * Remove `useIconComponent` * Update guides * Update exports preact and solid package * Formatting * Format createIcons.ts * Add lucide lab repo link in docs
37 lines
727 B
Plaintext
37 lines
727 B
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`Using dynamicImports > should render icons dynamically by using the dynamicIconImports module 1`] = `
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
width="48"
|
|
height="48"
|
|
viewbox="0 0 24 24"
|
|
fill="none"
|
|
stroke="red"
|
|
stroke-width="1"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
class="lucide lucide-smile"
|
|
aria-label="smile"
|
|
>
|
|
<circle cx="12"
|
|
cy="12"
|
|
r="10"
|
|
>
|
|
</circle>
|
|
<path d="M8 14s1.5 2 4 2 4-2 4-2">
|
|
</path>
|
|
<line x1="9"
|
|
x2="9.01"
|
|
y1="9"
|
|
y2="9"
|
|
>
|
|
</line>
|
|
<line x1="15"
|
|
x2="15.01"
|
|
y1="9"
|
|
y2="9"
|
|
>
|
|
</line>
|
|
</svg>
|
|
`;
|