2.0.0 • Published 9 months ago

@gluedigital/markdown-message v2.0.0

Weekly downloads
10
License
MIT
Repository
-
Last release
9 months ago

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:

NameTypeDescription
idstringText that you want to internationalizate
valuesobjectYou 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.

2.0.0

9 months ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

6 years ago

0.1.0

7 years ago