feat: add custom items

This commit is contained in:
SethBurkart123
2025-04-01 22:01:18 +11:00
parent 1b4708261d
commit 13f830ee16
13 changed files with 1034 additions and 95 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
import { mount } from "svelte"
import type { ComponentType } from "svelte"
import type { SvelteComponent } from "svelte"
import style from './index.css?inline'
export default function renderSvelte(
Component: ComponentType | any,
Component: SvelteComponent | any,
mountPoint: ShadowRoot | HTMLElement,
props: Record<string, any> = {},
) {