UNPKG

nano-jsx

Version:

SSR first, lightweight 1kB JSX library.

4 lines 261 B
export declare const useState: <T>(state: T, id: string) => readonly [T, (state: T) => void]; export declare const getState: (id: string) => any; export declare const setState: (id: string, state: any) => Map<string, any>; //# sourceMappingURL=useState.d.ts.map