Skip to content

hbg-react 1.0.15

Install from the command line:
Learn more about npm packages
$ npm install @helsingborg-stad/hbg-react@1.0.15
Install via package.json:
"@helsingborg-stad/hbg-react": "1.0.15"

About this version

hbg-react

Library of reusable React components

Installation

npm install --save-dev hbg-react

Then require the components you want to use:

import {Dropdown, Button} from 'hbg-react';

Local Development

  1. This library uses nwb for building assets and requires it to be installed globally
npm install -g nwb
  1. Clone the repo into a own directory
git clone [email protected]:helsingborg-stad/hbg-react.git hbg-react
  1. Go to the directory and install dependencies:
cd hbg-react
npm install
  1. Start development server
npm run start

Publish package

  1. commit and push your code to master to start the publish workflow

To do

  • Write tests for each component
  • Demo page

Details


Assets

  • hbg-react-1.0.15.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0