feat(svelte): export context subpath (#4927)

Co-authored-by: Vugar Bakhishov <vugarbbakhishov-hub@users.noreply.github.com>
This commit is contained in:
Vugar Bakhishov
2026-10-02 13:11:05 +02:00
committed by GitHub
co-authored by Vugar Bakhishov
parent 41991a82aa
commit 05eacffce6
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ This is useful if you want all icons to share the same size, color, or stroke wi
You can call `setLucideProps` in your main entry file or in a top-level component to set the default properties for all icons.
```js
import { setLucideProps } from '@lucide/svelte';
import { setLucideProps } from '@lucide/svelte/context';
setLucideProps({
size: 32,
+5
View File
@@ -30,6 +30,11 @@
"svelte": "./dist/lucide-svelte.js",
"default": "./dist/lucide-svelte.js"
},
"./context": {
"types": "./dist/context.d.ts",
"svelte": "./dist/context.js",
"default": "./dist/context.js"
},
"./icons": {
"types": "./dist/lucide-svelte.d.ts",
"svelte": "./dist/lucide-svelte.js"