0.16.2 • Published 5 months ago

@not-govuk/simple-components v0.16.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

NotGovUK - Simple components

Just the simple NotGovUK components.

Using this package

First install the package into your project:

npm install -S @not-govuk/simple-components

Then use it in your code as follows:

import React, { createElement as h } from 'react';
import { Header, Footer } from '@not-govuk/simple-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 install

Testing

npm test

Building

npm run build

Clean-up

npm run clean