UNPKG

refun

Version:

A collection of React Hook-enabled functions that compose harmoniously with each other. Similar to `recompose`, but:

4 lines (3 loc) 193 B
import type { Context } from 'react'; import type { TExtend } from 'tsfn'; export declare const mapContext: <CP extends {}>(context: Context<CP>) => <P extends {}>(props: P) => TExtend<P, CP>;