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