UNPKG

libreria-renderizado-npm

Version:

Una librería básica para gestionar el estado y JSX

11 lines (8 loc) 308 B
// src/index.d.ts export function useState<T>(initialValue: T): [ () => T, // getState (newValue: T) => void, // setState (listener: () => void) => void // subscribe ]; export function render(component: () => HTMLElement, container: HTMLElement): void; export { jsx } from './jsx-runtime';