1.1.0 • Published 4 months ago
nhsuk-frontend-react-extension v1.1.0
nhsuk-frontend-react-extension
This is a collection of components not found in the NHS.UK Frontend library but exist in GOV.UK Frontend or are components that are commonly used in NHS.UK projects.
Version compatibility
With the release of v9 of the NHS.UK Frontend library, the version of this library has been bumped to v4. The following table shows the compatibility between the NHS.UK Frontend library and nhsuk-frontend-react-extension
:
nhsuk-frontend | nhsuk-frontend-react-extension | branch |
---|---|---|
8.x.x | 0.x.x | v3 |
9.x.x | 1.x.x | main |
Installation
pnpm add nhsuk-frontend nhsuk-frontend-react-extension
Usage
import { LoginButton } from 'nhsuk-frontend-react-extension';
import 'nhsuk-frontend-react-extension/nhsuk-extension.css';
export const LoginPage = () => (
<div>
<h1>Login</h1>
<LoginButton variant="cis2" />
</div>
);
Testing
To run the tests, you can use the following command:
pnpm test
License
The codebase is released under the MIT Licence, unless stated otherwise.
1.0.2
5 months ago
1.1.0
4 months ago
1.0.1
8 months ago
1.0.3
5 months ago
0.2.0
4 months ago
1.0.0
10 months ago
1.0.0-next.0
10 months ago
1.0.0-next.1
10 months ago
1.0.0-next.2
10 months ago
0.1.8
10 months ago
0.1.7
10 months ago
0.1.9
10 months ago
0.1.6
11 months ago
0.1.5
12 months ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago