UNPKG

refun

Version:

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

7 lines (6 loc) 218 B
export declare type TMapPressed = { isPressed?: boolean; onPressIn?: () => void; onPressOut?: () => void; }; export declare const mapPressed: <P extends TMapPressed>(props: P) => P & Required<TMapPressed>;