rc-horizontal-scroll
Version:
React Horizontal Scroll
19 lines (14 loc) • 571 B
TypeScript
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;