carbon-components-svelte/docs
Eric Liu 6bf72d4602
fix(types): loosen icon prop type to any (#2095)
Fixes https://github.com/carbon-design-system/carbon-icons-svelte/issues/207

`carbon-icons-svelte@13` and `carbon-pictograms-svelte@13` now  
only support TypeScript for Svelte 4/5.

The new `Component` type is incompatible with the `icon` prop in  
`carbon-components-svelte`, causing a type error with Svelte 5, as  
`typeof SvelteComponent` doesn't match the new `Component` type.

Since `Component` isn't available in Svelte 3/4, this PR changes  
the `icon` prop type to `any` for compatibility across Svelte 3, 4, and 5.
2025-02-02 19:49:53 -08:00
..
public docs: remove vercel, add Deploy to Render button (#832) 2021-09-29 09:49:15 -07:00
scripts build(docs): use node: prefix [ci skip] 2024-11-12 09:52:20 -08:00
src fix(types): loosen icon prop type to any (#2095) 2025-02-02 19:49:53 -08:00
.gitignore docs: implement rudimentary full-text search (#1849) 2023-11-20 13:39:06 -08:00
index.html docs: move IBM analytics script to _layout.svelte 2024-11-10 11:49:16 -08:00
package-lock.json build(deps-dev): bump vite from 5.4.9 to 5.4.14 in /docs (#2090) 2025-01-22 11:10:37 -08:00
package.json build(deps-dev): bump vite from 5.4.9 to 5.4.14 in /docs (#2090) 2025-01-22 11:10:37 -08:00
svelte.config.js build(docs): use node: prefix [ci skip] 2024-11-12 09:52:20 -08:00
vite.config.js Switch from svite to vite + vite-plugin-svelte. (#962) 2021-12-31 10:11:48 -08:00