react-native-chat-list
v1.1.0
Published
react-native-chat-list
Downloads
37
Readme
react-native-chat-list
聊天列表
Usage
1.Install
npm
$ npm install --save react-native-chat-list
yarn
$ yarn add react-native-chat-list
2.Import
import { ChatList, Config } from 'react-native-chat-list';
3.Render
<ChatList data={this.state.data}/>
Component Props
|Props|Type|Description|Default| |-----|-----|-----|-----| | visible | boolean | 是否显示 | | | data | array | 数据 | null |