@antv/g2
Version:
the Grammar of Graphics in Javascript
12 lines (8 loc) • 317 B
text/typescript
import { Sqrt as SqrtScale } from '@antv/scale';
import { SqrtScale as SqrtScaleSpec } from '../spec';
import { ScaleComponent as SC } from '../runtime';
export type SqrtOptions = Omit<SqrtScaleSpec, 'type'>;
export const Sqrt: SC<SqrtOptions> = (options) => {
return new SqrtScale(options);
};
Sqrt.props = {};