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