@datns/store-modules
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

@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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.1
    0

Package Sidebar

Install

npm i @datns/store-modules

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

23.8 kB

Total Files

36

Last publish

Collaborators

  • nerdshore-development