@rikstv/shared-components
TypeScript icon, indicating that this package has built-in type declarations

3.0.16 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @rikstv/shared-components

Weekly Downloads

255

Version

3.0.16

License

MIT

Unpacked Size

256 kB

Total Files

163

Last publish

Collaborators

  • bjornhol
  • lfberge