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.
If you see any bugs, please contact webmaster.
You may also want to visit us:
Mozilla Foundation
331 E Evelyn Ave
Mountain View, CA 94041
USA
`, };