@lrnwebcomponents/md-block
Version:
a markdown block
23 lines (21 loc) • 701 B
JavaScript
import { html } from "lit-html";
import { withKnobs, text, boolean } from "@open-wc/demoing-storybook";
import { StorybookUtilities } from "@lrnwebcomponents/storybook-utilities/storybook-utilities.js";
import { MdBlock as sbClass } from "./md-block.js";
// need to account for polymer goofiness when webpack rolls this up
export default {
title: `Other|Markdown block`,
component: sbClass.tag,
decorators: [withKnobs],
parameters: {
options: { selectedPanel: "storybookjs/knobs/panel" },
},
};
const utils = new StorybookUtilities();
export const MdBlockStory = () => {
return utils.makeUsageDocs(
sbClass,
import.meta.url,
utils.makeElementFromHaxDemo(sbClass),
);
};