# patchkit-msg-content

> Render the content of a message according to its type

Latest version **1.1.0** (published 2016-07-07) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install patchkit-msg-content
pnpm add patchkit-msg-content
yarn add patchkit-msg-content
bun add patchkit-msg-content
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2016-07-07 |
| First published | 2016-03-31 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paul Frazee |
| Maintainers | cel, pfraze |
| Keywords | react |

## Links

- npm: https://www.npmjs.com/package/patchkit-msg-content
- Repository: https://github.com/patchkit/patchkit-msg-content
- Homepage: https://github.com/patchkit/patchkit-msg-content#readme
- Issues: https://github.com/patchkit/patchkit-msg-content/issues
- npm.io page: https://npm.io/package/patchkit-msg-content

## Dependencies (7)

- [react](https://npm.io/package/react.md) ^0.14.6
- [ssb-msgs](https://npm.io/package/ssb-msgs.md) ^5.2.0
- [patchkit-util](https://npm.io/package/patchkit-util.md) ^1.0.1
- [patchkit-links](https://npm.io/package/patchkit-links.md) ^1.0.1
- [patchkit-niceraw](https://npm.io/package/patchkit-niceraw.md) ^1.0.0
- [patchkit-markdown](https://npm.io/package/patchkit-markdown.md) ^1.0.0
- [patchwork-translations](https://npm.io/package/patchwork-translations.md) ^1.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2016-07-07
- 1.0.0 — 2016-03-31

## README

# MsgContent

Render the content of a message according to its type

```jsx
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 />

---
_Source: https://npm.io/package/patchkit-msg-content · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
