@antv/g2
Version:
the Grammar of Graphics in Javascript
17 lines (13 loc) • 375 B
text/typescript
import { GuideComponentComponent as GCC } from '../runtime';
import { Slider, SliderOptions } from './slider';
export type SliderYOptions = SliderOptions;
/**
* SliderY component.
*/
export const SliderY: GCC<SliderYOptions> = (options) => {
return Slider({ ...options, orientation: 'vertical' });
};
SliderY.props = {
...Slider.props,
defaultPosition: 'left',
};