Patterns

The Content Program Patterns library for React and Javascript components and resusable code
Contributing and releasing
Releasing
Update the package.json file with an incremental increase of the package version on the master branch.
Once the unit tests and linting have been successful, the package will be published to npmjs.com
.
Install
npm
npm install --save c-patterns
yarn
yarn add c-patterns
Usage
ES6
; { return <div> <Button /> <FileUpload /> <div> }
also to reduce file size, you can require individual components:
; { return <div> <Button /> <div> }
ES5
const Cpatterns = ;const Button = CpatternsButton;const FileUpload = CpatternsFileUpload; { return <div> <Button /> <FileUpload /> <div>}