"use strict";var React=require("react"),useDataValue=function(e){var a=React.useRef();return a.current=e,React.useCallback(function(e){var t=e.currentTarget.getAttribute("data-value");a.current&&a.current(t,e)},[])};exports.useDataValue=useDataValue;
