npm install --save nordnet-component-kit
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
This open source project released by Nordnet is licensed under the MIT license.
MIT license