0.0.8 • Published 10 months ago

@lmuresan/the-brain v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

The Brain

Reliance Health React Components Library

This repo will host all the react components that will be shared across our react apps

List of available components

https://github.com/reliancehealthinc/the-brain/blob/main/docs/list_of_components.md

Development

We are only going to have a main branch that can be updated only by pull request. To have your pr merged you need to comply with the following:

  • unit tests are passing
  • linting is passing
  • at least 1 approve

How to start the project?

To set up the repo, run the commands below, or :

  • make sure you have npm or yarn(version 2) installed
  • Pull Repository git clone git@github.com:reliancehealthinc/the-brain.git
  • Make sure you have node 14 (you can check the version using node --version)
  • Install Dependencies by running npm install
  • Start the storybook (playground for components) npm run storybook
  • Open the following http://localhost:6006/

How to use the library

Install the library

Run npm install @lmuresan/the-brain In your code import the components that you want:

import { Button } from "@lmuresan-thebrain";
...
...
<Button label="My new button" />

Import css into sass/scss

Make sure your webpack has a css loader Add the following line:

@import url(~@lmuresan/the-brain/dist/cjs/thebrain.min.css);

Publish new version of the library

TBC

Publish the new version on the playground

TBC

Contact

Lazar

0.0.8

10 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago