patchkit-msg-content

1.1.0 • Public • Published

MsgContent

Render the content of a message according to its type

import * as MsgContent from 'patchkit-msg-content'

<MsgContent.Block msg={msg} />
<MsgContent.Inline msg={msg} />

// you can force "raw" data rendering:
<MsgContent.Block msg={msg} forceRaw />
<MsgContent.Inline msg={msg} forceRaw />

Readme

Keywords

Package Sidebar

Install

npm i patchkit-msg-content

Weekly Downloads

1

Version

1.1.0

License

GPL-3.0

Last publish

Collaborators

  • cel
  • pfraze