UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

12 lines (8 loc) 317 B
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 = {};