nordnet-component-kit

Custom react components used by Nordnet

Usage no npm install needed!

<script type="module">
  import nordnetComponentKit from 'https://cdn.skypack.dev/nordnet-component-kit';
</script>

README

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