/react-shared-components

A collection of react components to build bcgov themed interfaces

Primary LanguageJavaScriptApache License 2.0Apache-2.0

React Shared Components

img Maintainability Test Coverage

Shared reusable react BCGov themed components. See https://bcgov.github.io/react-shared-components/ for documentation.

Getting Started

In order for a project to use these components, add the latest release to the project's package.json. Example: (current release)

"dependencies": {
    ...
    "shared-components": "https://github.com/bcgov/react-shared-components/releases/download/v1.2.2/shared-components-1.2.2.tgz",
    ...
},

Creating a Release

Run the following commands locally when ready to release:

yarn cache clean
yarn install
yarn --update-checksums
npm pack

Running the pack command will create a shared-components-X.X.X.tgz file in the root level of the project that contains the components ready for consumption by any project.