react-native-chat-list

react-native-chat-list

Usage no npm install needed!

<script type="module">
  import reactNativeChatList from 'https://cdn.skypack.dev/react-native-chat-list';
</script>

README

react-native-chat-list

聊天列表

preview

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