@rikstv/shared-components

v3.0.33

Published

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

Downloads

861

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