@nordnet/ui
Installation
npm install --save @nordnet/ui
yarn add @nordnet/ui
Usage
import { createRoot } from 'react-dom/client';
import { ThemeProvider } from 'styled-components';
import { theme } from '@nordnet/ui';
import App from './App';
const container = document.getElementById('app');
const root = createRoot(container);
root.render(
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>,
);
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)