@gluedigital/markdown-message

1.1.1 • 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    5
    • latest
  • 1.1.0
    1
    • next

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    5
  • 1.1.0
    1
  • 1.0.0
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i @gluedigital/markdown-message

Weekly Downloads

8

Version

1.1.1

License

MIT

Unpacked Size

3.55 kB

Total Files

4

Last publish

Collaborators

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