UNPKG

piral-core

Version:

The core library for creating a Piral instance.

6 lines (5 loc) 257 B
import { Disposable, GlobalStateContext } from '../types'; export interface Updatable { (newProps: any): void; } export declare function renderElement(context: GlobalStateContext, element: HTMLElement | ShadowRoot, props: any): [Disposable, Updatable];