0.3.2 • Published 6 years ago

ecommerce-react-component-library v0.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Liberty Mutual eCommerce React Component Library

Getting Started

View the live component library.

Using Components

To start using the components, you can install this package via npm:

npm install ecommerce-react-component-library --save

Once you have the package installed in your application, you can choose to import the component(s) you wish to use directly without pulling in all components. For example, if you wish to only use the "TextInput" component, you can import the component as:

import TextInput from 'ecommerce-react-component-library/TextInput'

This will ensure you are only including the components your application needs, keeping build size to a minimum.

Refer to the live component library to see how the component works, and to see how to include it in your code via the live component library link above.

Developing Components

Clone this repository and create a branch for your development work. Follow the design guidelines below.

Design Guidelines

TODO: add guidelines