dsc-react-components

1.0.0 • Public • Published

DSC React Components

CircleCI codecov

See storybook of all components here: https://dollarshaveclub.github.io/dsc-react-components/

Commands

  • npm run eslint - run eslint
  • npm run storybook - start the story book
  • npm run build-storybook - build the story book to /docs, which updates the github page
  • npm run test-isomorphic - run isomorphic tests, which are run in just a node environment. These are tests in __tests__/*.js.
  • npm run test-jsdom - run tests in a jsdom environment. These are tests in __tests__/jsdom/*.js.
  • npm run test - runs all tests

Components

Footer

Reusable Footer component.

Requires the following props:

  • links
  • countries

Usage:

<Footer links={links} countries={countries} />

// or load props from file
import faceAssetsFixturesUS from '../fixtures/face-assets/us.json'
<Footer {...faceAssetsFixturesUS} />

Readme

Keywords

none

Package Sidebar

Install

npm i dsc-react-components

Weekly Downloads

1

Version

1.0.0

License

UNLICENSED

Last publish

Collaborators

  • jongleberry