UNPKG

rc-horizontal-scroll

Version:
19 lines (14 loc) 571 B
import * as React from "react"; declare class HorizontalScrollView extends React.Component<HorizontalScrollViewProps, any> {} declare module "rc-horizontal-scroll" {} export interface HorizontalScrollViewProps extends React.Props<HorizontalScrollView> { items: any[]; ItemComponent: React.ComponentClass<{ item: any; index: number; parentProps: any }, any>; spaceBetweenItems: string; defaultSpace: string; onLastItemReached: (page: number) => {}; moveSpeed: number; uniqueProp: string; itemComponentProps: any; } export default HorizontalScrollView;