import React, { Component } from 'react' import { StyleSheet, View, Text, Image } from 'react-native' import { height, px2dp, width } from '../../utils/base'; export interface Props { item: any index: number } export interface State { } export default class RenderItem extends React.Component { constructor(props: Props | Readonly) { super(props); } componentDidMount() { } componentWillUnmount() { } public readonly state: Readonly = { } render() { return ( ); } } const styles = StyleSheet.create({ main: { width: width, height: px2dp(80) } })