UNPKG

react-simple-horizontal-scroller

Version:

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

13 lines (12 loc) 466 B
import * as React from 'react'; export interface HorizontalScrollItemProps extends React.HTMLAttributes<HTMLDivElement> { id: string; } /** * A thin wrapper that enables the user of horizontalScrollContainer to completely ignore refs */ export declare class HorizontalScrollItem extends React.PureComponent<HorizontalScrollItemProps> { static displayName: string; constructor(props: HorizontalScrollItemProps); render(): JSX.Element; }