react-bookreader-books-module
v1.0.40
Published
react-module
Downloads
16
Readme
react-bookreader-books-module
This module provides core components for books list page and book page (view mode and edit mode). This module includes own reducers and action creators.
If you want connect yur application with this module you should just import main components (SingleBook and BooksContainer) to your router.
Installation
Using npm:
$ npm install --save react-bookreader-books-module
Usage
//import BookReducer and BooksReducers from package and put it to combineReducers
import {bookReducer} from 'react-bookreader-books-module/build/index';
import {booksReducer} from 'react-bookreader-books-module/build/index';
// import views for books list and single book from package and use it with your routing
import {SingleBook} from 'react-bookreader-books-module/build/index';
import {BooksContainer} from 'react-bookreader-books-module/build/index';
Used libraries (necessary dependencies):
- react
- react-router
- react-router-dom
- material-ui
- react-router-redux
- react-custom-scrollbars
- styled-components
- react-dnd
- react-dnd-html5-backend
- react-dropzone
- react-image-crop