@antv/g2
Version:
the Grammar of Graphics in Javascript
13 lines (8 loc) • 328 B
text/typescript
import { Point as PointScale } from '@antv/scale';
import { PointScale as PointScaleSpec } from '../spec';
import { ScaleComponent as SC } from '../runtime';
export type PointOptions = Omit<PointScaleSpec, 'type'>;
export const Point: SC<PointOptions> = (options) => {
return new PointScale(options);
};
Point.props = {};