// 获取translateX或者translateY的值
function getTranslateValue(transform) {
  var _transform$match;
  return (transform === null || transform === void 0 || (_transform$match = transform.match(/-?\d+/)) === null || _transform$match === void 0 ? void 0 : _transform$match[0]) || null;
}
export default getTranslateValue;