Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 860 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 860 Bytes

@mll-lab/react-components

npm semantic-release

Shared React components of MLL

Try it out

Install

yarn add @mll-lab/react-components

Usage

To set up proper styles, wrap your application in <Provider>:

import { Provider } from '@mll-lab/react-components';
import * as React from 'react';
import { render } from 'react-dom';

render(
    <Provider>
        <App />
    </Provider>,
    document.getElementById('app'),
);

Optionally, you may pass a theme:

<Provider theme={{ backgroundColor: 'purple' }}>