The COP React Form Renderer is a library that renders a form on the basis of a supplied JSON.
It uses components from COP React Design System.
-
@ukhomeoffice/cop-react-components
- and offers various styles of forms. These are showcased inside of a yarn storybook within the project.
In the project directory, you can run:
Runs eslint
against the project to check for coding issues.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the library for production to the dist
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Runs Storybook on http://localhost:6007, which showcases the components within this library.
Builds Storybook for production to the storybook-static
folder.
For versioning this project uses SemVer.
This project is authored by the Home Office.
This project is licensed under the MIT license. For details please see License.
This project contains public sector information licensed under the Open Government Licence v3.0. (http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)