UNPKG

react-simple-horizontal-scroller

Version:

A wrapper for horizontally scorlling items, like tabs, that will manage adding and removing scroll controls

21 lines (20 loc) 638 B
import * as React from 'react'; export interface HorizontalScrollButtonProps { containerClassName?: string; iconClassName?: string; /** * Auto is managed by HorizontalScrollContainer and only shows when needed */ visibility?: 'AUTO' | 'ALWAYS' | 'NEVER'; /** * Direction to scroll when clicked */ direction: 'LEFT' | 'RIGHT'; } /** * Placeholder component that is internally replaced */ export declare class HorizontalScrollButton extends React.PureComponent<HorizontalScrollButtonProps> { constructor(props: HorizontalScrollButtonProps); render(): JSX.Element; }