react-native-wagmi-charts
Version:
A sweet candlestick chart for React Native
17 lines (15 loc) • 391 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getY = getY;
var _reactNativeReanimated = require("react-native-reanimated");
function getY({
value,
domain,
maxHeight
}) {
'worklet';
return (0, _reactNativeReanimated.interpolate)(value, domain, [maxHeight, 0], _reactNativeReanimated.Extrapolation.CLAMP);
}
//# sourceMappingURL=getY.js.map