@antv/g2
Version:
the Grammar of Graphics in Javascript
18 lines (14 loc) • 531 B
text/typescript
import { GuideComponentComponent as GCC } from '../runtime';
import { LegendContinuous, LegendContinuousOptions } from './legendContinuous';
export type LegendContinuousBlockOptions = LegendContinuousOptions;
export const LegendContinuousBlock: GCC<LegendContinuousBlockOptions> = (
options,
) => {
return (...args) =>
LegendContinuous(Object.assign({}, { block: true }, options))(...args);
};
LegendContinuousBlock.props = {
...LegendContinuous.props,
defaultPosition: 'top',
defaultOrientation: 'horizontal',
};