diff --git a/component.js b/component.js index e594160..6aa6c86 100644 --- a/component.js +++ b/component.js @@ -24,7 +24,7 @@ exports.handlers = { doclet.component.type = 'react' } doclet.kind = 'class' - doclet.type = 'component' + doclet.type = 'component' } else { if (path.extname(filePath) === '.vue') { const docGen = vueDocs.parse(filePath) diff --git a/lib/load/fill-component-preview.js b/lib/load/fill-component-preview.js index 3cf9a71..76c2173 100644 --- a/lib/load/fill-component-preview.js +++ b/lib/load/fill-component-preview.js @@ -11,7 +11,7 @@ const fillComponentPreview = (text, mdParser) => {