import { createHTMLElement } from "../HTMLElement"; export default { title: "TextContent/Figure", tags: ["autodocs"], args: { content: "Content", }, // Render the element render: (args) => { return createHTMLElement("figure", args); }, }; export const Default = {}; export const MozillaExample = { render: () => `
The beautiful MDN logo.
An elephant at sunset
`, }; export const MozillaExampleQuotations = { render: () => `
Edsger Dijkstra:
If debugging is the process of removing software bugs, then programming must be the process of putting them in.
`, }; export const MozillaExamplePoems = { render: () => `

Bid me discourse, I will enchant thine ear, Or like a fairy trip upon the green, Or, like a nymph, with long dishevelled hair, Dance on the sands, and yet no footing seen: Love is a spirit all compact of fire, Not gross to sink, but light, and will aspire.

Venus and Adonis, by William Shakespeare
`, };