Skip to content
Snippets Groups Projects
paragraph-text.tsx 344 B
Newer Older
  • Learn to ignore specific revisions
  • Markus Kaarto's avatar
    Markus Kaarto committed
    import { Component, h } from '@stencil/core';
    
    @Component({
      tag: 'hy-paragraph-text',
      styleUrl: 'paragraph-text.scss',
      shadow: true
    })
    export class ParagraphText {
    
      render() {
        const classAttributes = ["hy-paragraph-text"];
        return (
          <div class={classAttributes.join(" ")}>
            <slot></slot>
          </div >
        );
      }
    
    }