feat: add StorybookJS

This commit is contained in:
Michal 2025-04-04 11:51:33 +02:00
parent 1039a4788d
commit cbc1260553
116 changed files with 3560 additions and 2 deletions

View file

@ -0,0 +1,24 @@
import { createHTMLElement } from "../HTMLElement";
export default {
title: "TextContent/LI",
tags: ["autodocs"],
args: {
content: "Content",
value: 1,
},
// Render the <html> element
render: (args) => {
return createHTMLElement("li", args);
},
};
export const Default = {};
export const MozillaExample = {
render: () => `<ol>
<li>first item</li>
<li>second item</li>
<li>third item</li>
</ol>`,
};