UNPKG
solid-native
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Use solid.js to develop native mobile applications
solid-native.t6.fyi
tjjfvi/solid-native
solid-native
/
dist
/
withHooks.d.ts
4 lines
•
243 B
TypeScript
View Raw
1
2
3
4
/// <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