Skip to content

Commit 7c3ad5f

Browse files
vpiconematheus1lva
authored andcommittedNov 13, 2019
docs: Update default resolver comment in README.md example (#78)
per: https://github.com/reactjs/react-docgen/blob/master/src/main.js#L18
1 parent 7bdb5d3 commit 7c3ad5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ So, we allow you to collect all the docgen info into a global collection. To do
103103
"babel-plugin-react-docgen",
104104
{
105105
"DOC_GEN_COLLECTION_NAME": "MY_REACT_DOCS",
106-
"resolver": "findAllComponentDefinitions", // optional (default: findAllComponentDefinitions)
106+
"resolver": "findAllComponentDefinitions", // optional (default: findAllExportedComponentDefinitions)
107107
"removeMethods": true, // optional (default: false)
108108
"handlers:": ["react-docgen-deprecation-handler"] // optional array of custom handlers (use the string name of the package in the array)
109109
}

0 commit comments

Comments
 (0)
Please sign in to comment.