@aomi/react-native-components
Version:
React Native Components
28 lines (27 loc) • 690 B
TypeScript
import * as React from 'react';
import Props from './Props';
/**
* GridView
* @author 田尘殇Sean(sean.snow@live.com)
* @date 16/5/25
*/
export declare class GridView extends React.Component<Props> {
static defaultProps: {
autoWidth: boolean;
cols: number;
horizontalSpacing: number;
verticalSpacing: number;
};
state: any;
constructor(props: any);
static getDerivedStateFromProps(props: any): {
data: any[];
};
handleLayout(event: any): void;
renderItem({ item, index }: {
item: any;
index: any;
}): JSX.Element;
keyExtractor(item: any, index: any): string;
render(): JSX.Element;
}