UNPKG

227 BTypeScriptView Raw
1export declare type TMapHovered = {
2 isHovered?: boolean;
3 onPointerEnter?: () => void;
4 onPointerLeave?: () => void;
5};
6export declare const mapHovered: <P extends TMapHovered>(props: P) => P & Required<TMapHovered>;