mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-15 17:28:33 +08:00
Fix documentation by adding propTypeCompositionHandler
This commit is contained in:
@@ -226,7 +226,7 @@ var styleDocs = styles.slice(2).reduce(function(docs, filepath) {
|
||||
docgen.parse(
|
||||
fs.readFileSync(filepath),
|
||||
docgenHelpers.findExportedObject,
|
||||
[docgen.handlers.propTypeHandler]
|
||||
[docgen.handlers.propTypeHandler, docgen.handlers.propTypeCompositionHandler]
|
||||
);
|
||||
|
||||
return docs;
|
||||
|
||||
Reference in New Issue
Block a user