import React ,{Component} from 'react'
import {
View,
Text,
StyleSheet,
Image,
TouchableOpacity,
} from 'react-native'
import {deviceWidth, heightPxToDp, widthPxToDp} from "../../../utils/ScreenUtils";
import _const from "../../../const/_const";
export default class ChatMainTopLayout extends Component{
constructor(props){
super(props)
this.state={}
}
getTopLayout=()=>{
const data = _const.chatViewTopLayout
const comps = []
data.map((item,index)=>{
comps.push(
{item.name}
)
})
return comps
}
render(){
return(
{this.getTopLayout()}
)
}
}