import { createHTMLElement } from "../HTMLElement"; export default { title: "Sectioning/Address", tags: ["autodocs"], args: { content: "Content", }, // Render the element render: (args) => { return `
{ if (!value) { return ""; } return `${key}="${value}"`; }) .join(" ")} >${args.content}`; }, }; export const Default = {}; export const MozillaExample = { render: (args) => ` You can contact author at www.example.com.