UNPKG

refun

Version:

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

7 lines (6 loc) 227 B
export declare type TMapHovered = { isHovered?: boolean; onPointerEnter?: () => void; onPointerLeave?: () => void; }; export declare const mapHovered: <P extends TMapHovered>(props: P) => P & Required<TMapHovered>;