diff --git a/website/server/extractDocs.js b/website/server/extractDocs.js index c52cf3b7b..38b723f21 100644 --- a/website/server/extractDocs.js +++ b/website/server/extractDocs.js @@ -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;