"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/slicedToArray"),l=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=t(e);exports.useTooltip=function(){var e=l.useState(null),t=u.default(e,2),r=t[0],o=t[1],n=l.useState(null),a=u.default(n,2),i=a[0],s=a[1];return{hoveredWell:r,hoveredCluster:i,showTooltip:l.useCallback((function(e){s(null),o(e)}),[]),showClusterTooltip:l.useCallback((function(e){o(null),s(e)}),[]),hideTooltip:l.useCallback((function(){o(null),s(null)}),[])}};
//# sourceMappingURL=useTooltip.js.map
