Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

kpn/kpn-style-react

Repository files navigation

KPN STYLE REACT Monorepo

A series of packages that assist in the usage of kpn-styles with React

Github Actions npm package Conventional Commits GitHub


Documentation for react components: https://kpn.github.io/kpn-style-react/

Documentation for styles: https://style.kpn.com/


Current projects

packages/
├── kpn-styles-react
└── cra-template-kpn-style-react

Initializing an app

Initialize your project just by running any of the following commands

yarn

yarn create react-app my-app --template @kpn-style/cra-template-kpn-style-react

npm

npm init react-app my-app --template @kpn-style/cra-template-kpn-style-react

Using in an exisiting repo

Install kpn-style-react and start using it right away.

yarn add @kpn-style/bundle @kpn-style/react
import { Button } from "@kpn-style/react";

<Button>KPN</Button>;