Files
open-wc/packages/mdjs/demo/stories/README.md
2020-04-20 19:01:46 +02:00

525 B

import { html } from 'lit-html';
import './demo-wc-card.js';

Heading 1

Foo is great

  • looks like a game card
  • content in the front
  • data in the back

How to use

yarn add @foo/demo-wc-card
import '@foo/demo-wc-card/demo-wc-card.js';

Story

export const JsStory = () => html` <demo-wc-card>JS Story</demo-wc-card> `;

Story

with preview

export const JsStory2 = () => html` <demo-wc-card>JS Story with preview</demo-wc-card> `;