Installation

To install and save in your package.json dependencies, run:

// with npm
npm install @moneypensionservice/directories

// with yarn
yarn add @moneypensionservice/directories

Please note that react >= 16, react-dom >= 16 and styled-components >= 5 are peer dependencies.


Provide the Theme to your application

By default, the components are stylistically unopinionated and do not include a theme. You can add a theme to your application with the ThemeProvider component and by providing a theme in context. For more information and how you can use a custom theme, please visit the <ThemeProvider /> section of the documentation.