za-react-emoji

1.0.3 • Public • Published

基于React的微信表情解析,包含两个组件

<Emoji/>
<ContentWithEmoji/>

Install

npm install za-react-emoji --save

Emoji props

prop default description
renderModule ['wechat'] 需要的表情模块,可选项,默认全部模块
className za-emoji 容器可拓展类名
onClick void 点击表情的回调

ContentWithEmoji props

prop default description
content '' 需要解析的字符串 类似 哈哈[微笑]
className za-content-with-emoji 可拓展类名

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i za-react-emoji

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

1.14 MB

Total Files

16

Last publish

Collaborators

  • za_dyton