import { createHTMLElement } from "../HTMLElement";
export default {
title: "TextContent/Figcaption",
tags: ["autodocs"],
args: {
content: "Content",
},
// Render the element
render: (args) => {
return createHTMLElement("figcaption", args);
},
};
export const Default = {};
export const MozillaExample = {
render: () => `
An elephant at sunset
`,
};