Skip to content

Latest commit

 

History

History

README.md

green-react

@sebgroup/green-react

React components with SEB's look and feel.

Install

npm install --save @sebgroup/green-react
yarn add @sebgroup/green-react

Use

import { Button } from '@sebgroup/green-react'

// Use in your JSX

;<Button>A Green React Button!</Button>

Components

View all components in the React Storybook

Develop *

  1. Clone the monorepo
git clone git@github.com:sebgroup/green.git
  1. Install the dependencies
cd green
yarn
  1. Start the Storybook
npx nx run react:storybook
  1. Start the test runner (or make sure your IDE runs the tests continuously)
yarn test react --watch
  1. Pick an issue from the board and pull it into In progress
  2. Open a Draft PR and reference the Issue
  3. Start coding 🎉 Don't forget:
    1. Test
    2. Code
    3. Refactor