claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
37 lines • 1.2 kB
TypeScript
interface Props {
target?: string | HTMLElement | null;
disabled?: boolean;
prepend?: boolean;
children?: import('svelte').Snippet;
}
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
declare const Portal: $$__sveltets_2_IsomorphicComponent<Props, {
mount: CustomEvent<{
target: HTMLElement;
portal: HTMLElement;
}>;
unmount: CustomEvent<{
target: HTMLElement;
portal: HTMLElement;
}>;
error: CustomEvent<{
error: Error;
}>;
} & {
[evt: string]: CustomEvent<any>;
}, {}, {}, "">;
type Portal = InstanceType<typeof Portal>;
export default Portal;
//# sourceMappingURL=Portal.svelte.d.ts.map