Files
gitbook/packages/gitbook-plugin/template/src/index.js
T
2016-10-03 10:35:24 +02:00

12 lines
298 B
JavaScript

const GitBook = require('gitbook-core');
module.exports = GitBook.createPlugin({
activate: (dispatch, getState) => {
// Dispatch initialization actions
},
deactivate: (dispatch, getState) => {
// Dispatch cleanup actions
},
reduce: (state, action) => state
});