Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 479 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 479 Bytes

Entria Components

Install

npm i @entria/components --save
yarn add @entria/components

Config

The Redux store should know how to handle actions coming from the components:

import { createStore, combineReducers } from 'redux';
import { reducers as entriaComponentsReducers } from '@entria/components';

const rootReducer = combineReducers({
  // ...your other reducers here
  ...entriaComponentsReducers,
});

const store = createStore(rootReducer);