From 743c6be15a1666650dd8ee348cc136b6fdbebfad Mon Sep 17 00:00:00 2001 From: njetsy Date: Mon, 20 Mar 2023 14:53:21 -0400 Subject: [PATCH] Fixed spacing issues --- component.js | 2 +- lib/load/fill-component-preview.js | 2 +- lib/react-wrapper.js | 2 +- publish.js | 2 +- src/react-wrapper.jsx | 3 +-- tmpl/react-component.tmpl | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) 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) => {