mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 18:06:14 -04:00
32 lines
566 B
TypeScript
32 lines
566 B
TypeScript
![]() |
import { createHTMLElement } from "../HTMLElement";
|
||
|
|
||
|
export default {
|
||
|
title: "TextContent/DD",
|
||
|
tags: ["autodocs"],
|
||
|
args: {
|
||
|
content: "Content",
|
||
|
},
|
||
|
// Render the <html> element
|
||
|
render: (args) => {
|
||
|
return createHTMLElement("dd", args);
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const Default = {};
|
||
|
|
||
|
export const MozillaExample = {
|
||
|
render: () => `<p>Cryptids of Cornwall:</p>
|
||
|
|
||
|
<dl>
|
||
|
<dt>Beast of Bodmin</dt>
|
||
|
<dd>A large feline inhabiting Bodmin Moor.</dd>
|
||
|
|
||
|
<dt>Morgawr</dt>
|
||
|
<dd>A sea serpent.</dd>
|
||
|
|
||
|
<dt>Owlman</dt>
|
||
|
<dd>A giant owl-like creature.</dd>
|
||
|
</dl>
|
||
|
`,
|
||
|
};
|