UNPKG

refun

Version:

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

3 lines (2 loc) 155 B
import type { Context } from 'react'; export declare const mapDefaultContext: <CP extends {}>(context: Context<CP>) => <P extends {}>(props: P) => CP & P;