mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
24 lines
436 B
TypeScript
24 lines
436 B
TypeScript
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>`,
|
|
};
|