Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.42 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.42 KB

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