diff --git a/README.md b/README.md
index 10e6c60..174bf76 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ const isValidNode = function () {
};
// Order matters. Instructions are processed in the order they're defined
-const processNodeDefinitions = new HtmlToReact.ProcessNodeDefinitions(React);
+const processNodeDefinitions = new HtmlToReact.ProcessNodeDefinitions();
const processingInstructions = [
{
// Custom
processing
@@ -158,7 +158,7 @@ const isValidNode = function () {
return true;
};
-const processNodeDefinitions = new HtmlToReact.ProcessNodeDefinitions(React);
+const processNodeDefinitions = new HtmlToReact.ProcessNodeDefinitions();
// Order matters. Instructions are processed in
// the order they're defined
@@ -261,7 +261,7 @@ const preprocessingInstructions = [
},
}
];
-const processNodeDefinitions = new HtmlToReact.ProcessNodeDefinitions(React);
+const processNodeDefinitions = new HtmlToReact.ProcessNodeDefinitions();
const processingInstructions = [
{
shouldProcessNode: function (node) {
diff --git a/test/html-to-react-tests.js b/test/html-to-react-tests.js
index 50c42ea..e452e1e 100644
--- a/test/html-to-react-tests.js
+++ b/test/html-to-react-tests.js
@@ -329,7 +329,7 @@ describe('Html2React', () => {
describe('with custom processing instructions', () => {
const parser = new Parser();
- const processNodeDefinitions = new ProcessNodeDefinitions(React);
+ const processNodeDefinitions = new ProcessNodeDefinitions();
describe('parse valid HTML', () => {
it('should return nothing with only a single
element', () => {