@not-govuk/components
v0.16.3
Published
React components implementing the GOV.UK Design System.
Readme
NotGovUK - Components
An implementation of the GOV.UK Design System in React that provides support for writing internal applications in addition to public ones.
Using this package
First install the package into your project:
npm install -S @not-govuk/componentsThen use it in your code as follows:
import React, { createElement as h } from 'react';
import { Header, Footer } from '@not-govuk/components';
export const MyComponent = props => (
<Header
// WRITEME
/>
);
export default MyComponent;Working on this package
Before working on this package you must install its dependencies using the following command:
pnpm installTesting
npm testBuilding
npm run buildClean-up
npm run clean