@nordnet/ui

[![NPM version][npm-image]][npm-url] [![Build Status](https://github.com/nordnet/ui/workflows/build/badge.svg)](https://github.com/nordnet/ui/actions) [![Coverage Status][codecov-image]][codecov-url] [![Dependency Status][depstat-image]][depstat-url]

Usage no npm install needed!

<script type="module">
  import nordnetUi from 'https://cdn.skypack.dev/@nordnet/ui';
</script>

README

@nordnet/ui

NPM version Build Status Coverage Status Dependency Status

Installation

npm install --save @nordnet/ui # or
yarn add @nordnet/ui

Usage

// src/root.js
import { ThemeProvider } from 'styled-components';
import { theme } from '@nordnet/ui';
import App from './App';

const Root = (
  <ThemeProvider theme={theme}>
    <App/>
  </ThemeProvider>
);
ReactDOM.render(Root, document.getElementById('app'));

// src/App.js
import { Button } from '@nordnet/ui';

const App = (props) => (
  <div>
    <Button size="l" variant="secondary">
      Hit me
    </Button>
  </div>
);

export default App;

Developing

Developing workflow can be found in the contributing guidelines.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Upgrading from semantic-release@16.0.0-beta.18

To upgrade to latest 17.1.1 you need to upgrade away from beta first:

License

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

MIT (http://www.opensource.org/licenses/mit-license.php)