@datns/store-modules
v1.2.1
Published
A redux store connectable modules library for react
Downloads
2
Readme
@datns/store-modules
A redux store connectable modules library for react
Simply put, wrapper which connect themselves to the redux store with provided actions
Setup
yarn
Build
For building everything
yarn build
Available Modules, Reducer and Actions
Modules:
export {
Dialogue,
Drawer,
NotificationBar,
Popover
}
Reducers/ReducerStates (for typescript):
export {
confirmDialogue,
ConfirmDialogueState,
dialogues,
DialoguesState,
drawers,
DrawersState,
notifications,
NotificationsState,
popover,
PopoverState
}
Actions:
export {
confirmDialogueActions,
confirmDialogueAction,
dialoguesActions,
dialoguesAction,
drawerActions,
drawerAction,
notificationAction,
notificationActions,
addNotification,
popoverAction,
popoverActions,
}
NOTE
In case of style adjustments use SASS/SCSS. This will be compiled to CSS in the build step and as such added to the lib.
License
@datns/store-modules is MIT licensed.