@rikstv/shared-components

v3.0.28

Published

Wrap your app with you preferred brand. The css needs to be imported manually once in the app.

Downloads

920

Readme

Shared-components

Wrap your app with you preferred brand. The css needs to be imported manually once in the app.

import { Strim, PrimaryButton, DisplayTitle } from '@rikstv/shared-components";
import '@rikstv/shared-components/dist/style.css";

const Root = () => (
    <Strim>
        <main>
            <DisplayTitle>
                MyApp
            </DisplayTitle>

            <PrimaryButton>
                Hello world
            </PrimaryButton>
        </main>
    </Strim>
)