Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 479f6c9 + fcee0df commit adf99eaCopy full SHA for adf99ea
draft-js-undo-plugin/src/index.js
@@ -8,7 +8,7 @@ const defaultTheme = {
8
undo: styles.button,
9
};
10
11
-const historyPlugin = (config = {}) => {
+export default (config = {}) => {
12
const undoContent = config.undoContent ? config.undoContent : '↺';
13
const redoContent = config.redoContent ? config.redoContent : '↻';
14
const store = {
@@ -32,5 +32,3 @@ const historyPlugin = (config = {}) => {
32
},
33
34
35
-
36
-export default historyPlugin;
0 commit comments