@ukhomeoffice/cms-react-form-renderer
v1.0.0
Published
[![Build and test](https://github.com/UKHomeOffice/cop-react-form-renderer/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/UKHomeOffice/cop-react-form-renderer/actions/workflows/build-and-test.yml) [![Publish cop-react-form-renderer to
Downloads
4
Maintainers
Keywords
Readme
Getting Started with COP React Form Renderer
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.
Available Scripts
In the project directory, you can run:
yarn lint
Runs eslint
against the project to check for coding issues.
yarn test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
yarn compile
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.
yarn storybook
Runs Storybook on http://localhost:6007, which showcases the components within this library.
yarn storybook:build
Builds Storybook for production to the storybook-static
folder.
Using the Service
Versioning
For versioning this project uses SemVer.
Authors
This project is authored by the Home Office.
License
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/)