@comicrelief/component-library

7.43.0 • Public • Published

Comic Relief React Component Library

GitHub Actions semantic-release

React components to be shared across Comic Relief applications

Use

CR-CL has a dependency of Styled-components.

Install the package

$ yarn add @comicrelief/component-library

Wrap your app with the ThemeProvider and crTheme

import { ThemeProvider, crTheme } from '@comicrelief/component-library';

Import components

import { HeroBanner } from '@comicrelief/component-library';

Develop

To install CR-CL locally, run:

$ yarn install

To start the dev build and server:

$ yarn styleguide

To test:

$ yarn test:unit

Test will run through all Jest tests and watch for any changes on snapshots.

To update snapshots with desired changes brought in through your work:

$ yarn test:unit-update

To publish

$ yarn publish:npm

Readme

Keywords

none

Package Sidebar

Install

npm i @comicrelief/component-library

Weekly Downloads

130

Version

7.43.0

License

ISC

Unpacked Size

7.35 MB

Total Files

759

Last publish

Collaborators

  • 7777akhil
  • hadeer.ashraf
  • ahmed.elbougha
  • mahmoud.mohamed93
  • mohamed.mahmoud
  • krupapammi
  • john.levermore
  • modonovan
  • andyephipps
  • cr-engineering-ops
  • saebischer
  • corinja