UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

18 lines (14 loc) 587 B
import { GuideComponentComponent as GCC } from '../runtime'; import { LegendContinuous, LegendContinuousOptions } from './legendContinuous'; import { LegendContinuousSize } from './legendContinuousSize'; export type LegendContinuousBlockSizeOptions = LegendContinuousOptions; export const LegendContinuousBlockSize: GCC< LegendContinuousBlockSizeOptions > = (options) => { return LegendContinuousSize(Object.assign({}, { block: true }, options)); }; LegendContinuousBlockSize.props = { ...LegendContinuous.props, defaultPosition: 'top', defaultOrientation: 'horizontal', };