/nordnet-component-kit

Nordnet Component Kit - https://nordnet.github.io/nordnet-component-kit

Primary LanguageJavaScriptMIT LicenseMIT

Nordnet Component Kit

NPM version Build Status Coverage Status Dependency Status

Installation

npm install --save nordnet-component-kit

Usage

import { Percent, Currency } from 'nordnet-component-kit';

// ... some code

<Percent value={ 0.23 } decimals={ 1 } />
<Currency value={ 45.345 } currency="SEK" />

Documentation is available here.

To run the documentation locally, to this:

# With Hot Module Reloading
npm run docs:watch
# A static version (will end up in docs/)
npm run docs

License

This open source project released by Nordnet is licensed under the MIT license.

MIT license