UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

17 lines (13 loc) 412 B
import { GuideComponentComponent as GCC } from '../runtime'; import { Scrollbar, ScrollbarOptions } from './scrollbar'; export type ScrollbarXOptions = ScrollbarOptions; /** * ScrollbarX component. */ export const ScrollbarX: GCC<ScrollbarXOptions> = (options) => { return Scrollbar({ ...options, orientation: 'horizontal' }); }; ScrollbarX.props = { ...Scrollbar.props, defaultPosition: 'bottom', };