Skip to content

Commit

Permalink
fix(theme): fix MarkdownContent wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed May 28, 2022
1 parent 0afbf4a commit 3befda5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/theme/src/client/components/MarkdownContent.ts
Expand Up @@ -5,9 +5,12 @@ import type { FunctionalComponent, VNode } from "vue";

const MarkdownContent: FunctionalComponent<{ custom?: boolean }> = ({
custom,
}): VNode =>
h("div", { class: ["theme-hope-content", { custom }] }, h(Content));
}): VNode => h(Content, { class: ["theme-hope-content", { custom }] });

MarkdownContent.displayName = "MarkdownContent";

MarkdownContent.props = {
custom: Boolean,
};

export default MarkdownContent;

0 comments on commit 3befda5

Please sign in to comment.