@islands/hydration
Version:
Hydration utilities for îles
10 lines (7 loc) • 474 B
TypeScript
import * as preact from 'preact';
import { FunctionComponent } from 'preact';
import { P as Props, S as Slots } from './types-CmUBzf0a.js';
import 'vue';
declare function createIsland(component: FunctionComponent, id: string, el: Element, props: Props, slots: Slots | undefined): void;
declare function createElement(component: FunctionComponent, props: Props, slots: Slots | undefined): preact.VNode<preact.Attributes>;
export { createElement, createIsland as default };