UNPKG

reactnativecomponents

Version:
25 lines (24 loc) 675 B
import AbstractComponent from '../AbstractComponent'; import Props from './Props'; /** * GridView * @author 田尘殇Sean(sean.snow@live.com) * @date 16/5/25 */ export default class GridView extends AbstractComponent<Props> { static defaultProps: { autoWidth: boolean; cols: number; horizontalSpacing: number; verticalSpacing: number; }; state: any; constructor(props: any); componentWillReceiveProps(nextProps: any): void; handleCellData(cells: any, cols: any): any[]; renderItem({ item }: { item: any; }): JSX.Element; keyExtractor(item: any, index: any): string; render(): JSX.Element; }