@gluedigital/markdown-message
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

MarkdownMessage

React component that allows to add bold with internationalization

Usage

To install it:

npm install --save @gluedigital/markdown-message

To use it:

import MarkdownMessage from '@gluedigital/markdown-message'

// ...

<MarkdownMessage id="id.message" />

Warning

needs to exist in the component ancestry.

Options

The following props can be used:

Name Type Description
id string Text that you want to internationalizate
values object You can use this like FormattedMessage

Developing

This package uses nwb for the build. Take a look at their documentation for more info.

TL;DR: after installing nwb, just do npm start to open the dev environment.

Readme

Keywords

Package Sidebar

Install

npm i @gluedigital/markdown-message

Weekly Downloads

4

Version

2.0.0

License

MIT

Unpacked Size

7.08 kB

Total Files

8

Last publish

Collaborators

  • landesag
  • csar
  • mancontr
  • alex_bf
  • javibt
  • linuxgunter