UNPKG

kompendium

Version:

Documentation generator for Stencil components

14 lines (13 loc) 446 B
import { Component, h } from '@stencil/core'; import { markdownExample } from './markdown-example'; /** * This is a simple example of how the `kompendium-markdown` component is used * @sourceFile markdown-example.ts */ export class MarkdownExample { render() { return h("kompendium-markdown", { text: markdownExample }); } static get is() { return "kompendium-example-markdown"; } static get encapsulation() { return "shadow"; } }