react-native-emoji-view-assac
v1.0.2
Published
react-native emoji 表情选择器
Downloads
3
Readme
react-native-emoji-view
Emoji 表情输入器
Usage
1.Install
npm
$ npm install --save react-native-emoji-view
yarn
$ yarn add react-native-emoji-view
2.Import
import EmojiView from 'react-native-emoji-view';
3.Render
<EmojiView visible={true} onSelect={(emoji)=>alert(emoji)}/>
Component Props
|Props|Type|Description|Default| |-----|-----|-----|-----| | visible | boolean | 是否显示 | | | onSelect | func | 点击表情时的回调 | null |