awin-react
v1.0.4
Published
Library of react components using AWIN styleguide
Downloads
52
Readme
NPM library for AWIN react components
This library provides reusable React components with a look-and-feel conform to AWIN style guides. The style guide itself is based on Bootstrap and Fontawesome.
Currently, most of the components are inherited from Bootstrap React. But it provides a place to have custom reusable components which follow AWIN style guide.
It also comes with the UI development environment storybook
Getting Started
Clone repo:
git clone https://github.com/awin/awin-react.git
Install dependencies:
npm install
Start UI development environment:
npm run storybook
Open http://localhost:6006 to view it in the browser.
React components
All components provided by this library are located inside src/lib
. And all
stories for them are in src/stories
.
Testing
npm run test
Build library
npm run build
Produces production version of library under the build
folder.
Publish library
- Increase patch version:
npm version patch
- Publish:
npm publish