Sha256: ad78ff5a9318cce5d92c34547867c3c381e9ff92c2098f150a1fc7e58a2b5eb3
Contents?: true
Size: 1.18 KB
Versions: 3
Compression:
Stored size: 1.18 KB
Contents
import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import TasksTablePage from './TasksTablePage'; import reducer from './TasksTableReducer'; import * as tableActions from './TasksTableActions'; import * as bulkActions from './TasksBulkActions'; import { selectStatus, selectError, selectResults, selectPagitation, selectItemCount, selectSort, selectActionName, selectSelectedRows, selectClicked, selectAllRowsSelected, selectShowSelectAll, } from './TasksTableSelectors'; const mapStateToProps = state => ({ status: selectStatus(state), error: selectError(state), sort: selectSort(state), results: selectResults(state), pagination: selectPagitation(state), itemCount: selectItemCount(state), actionName: selectActionName(state), selectedRows: selectSelectedRows(state), clicked: selectClicked(state), allRowsSelected: selectAllRowsSelected(state), showSelectAll: selectShowSelectAll(state), }); const mapDispatchToProps = dispatch => bindActionCreators({ ...tableActions, ...bulkActions }, dispatch); export const reducers = { tasksTable: reducer }; export default connect(mapStateToProps, mapDispatchToProps)(TasksTablePage);
Version data entries
3 entries across 3 versions & 1 rubygems