UNPKG

solid-native

Version:

Use solid.js to develop native mobile applications

4 lines 243 B
/// <reference types="react" /> export declare type HookFn = <T>(fn: () => T) => () => T; export declare function withHooks<T>(Comp: (hook: HookFn, props: T) => JSX.Element): (props: any) => JSX.Element; //# sourceMappingURL=withHooks.d.ts.map