@parcility/kennel
Version:
A comprehensive, easy-to-use native depiction renderer.
8 lines (7 loc) • 315 B
TypeScript
interface RenderOptions {
ssr: boolean;
defaultTintColor: string;
}
export declare function render<T extends Partial<RenderOptions>, U extends T["ssr"] extends true ? string : HTMLElement>(depiction: any, options?: T): Promise<U>;
export declare function hydrate(el?: ParentNode): Promise<void>;
export {};