@antv/g2
Version:
the Grammar of Graphics in Javascript
9 lines (8 loc) • 305 B
TypeScript
import { CurveFactory, CurveFactoryLineOnly } from '@antv/vendor/d3-shape';
import { ShapeComponent as SC } from '../../runtime';
export type CurveOptions = {
curve?: CurveFactory | CurveFactoryLineOnly;
gradient?: boolean;
[key: string]: any;
};
export declare const Curve: SC<CurveOptions>;