import { createHTMLElement } from "../HTMLElement"; export default { title: "TextContent/Pre", tags: ["autodocs"], args: { content: "Content", }, // Render the element render: (args) => { return createHTMLElement("pre", args); }, }; export const Default = {}; export const MozillaExample = { render: () => ` ___________________________ < I'm an expert in my field. > --------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || A cow saying, "I'm an expert in my field." The cow is illustrated using preformatted text characters. `, };
___________________________ < I'm an expert in my field. > --------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||