@nordnet/ui
TypeScript icon, indicating that this package has built-in type declarations

16.15.8 • Public • Published

@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 { 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); // createRoot(container!) if you use TypeScript
root.render(
  <ThemeProvider theme={theme}>
    <App />
  </ThemeProvider>,
);

// 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)

/@nordnet/ui/

    Package Sidebar

    Install

    npm i @nordnet/ui

    Weekly Downloads

    6

    Version

    16.15.8

    License

    MIT

    Unpacked Size

    11.1 MB

    Total Files

    7320

    Last publish

    Collaborators

    • iamstarkov
    • nordnet-release
    • dhallqvist
    • johnphoto