import { curveStepBefore } from '@antv/vendor/d3-shape'; import { ShapeComponent as SC } from '../../runtime'; import { Curve } from './curve'; export type VHOptions = Record; export const VH: SC = (options, context) => { return (...params) => { return Curve({ curve: curveStepBefore, ...options }, context)(...params); }; }; VH.props = { ...Curve.props, defaultMarker: 'vh', };