mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 18:56:15 -04:00
31 lines
628 B
TypeScript
31 lines
628 B
TypeScript
import { createHTMLElement } from "../HTMLElement";
|
|
|
|
export default {
|
|
title: "Sectioning/Footer",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
content: "Content",
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return createHTMLElement("footer", args);
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|
|
|
|
export const MozillaExample = {
|
|
render: (args) => `<h3>FIFA World Cup top goalscorers</h3>
|
|
<ol>
|
|
<li>Miroslav Klose, 16</li>
|
|
<li>Ronaldo Nazário, 15</li>
|
|
<li>Gerd Müller, 14</li>
|
|
</ol>
|
|
|
|
<footer>
|
|
<small>
|
|
Copyright © 2023 Football History Archives. All Rights Reserved.
|
|
</small>
|
|
</footer>
|
|
`,
|
|
};
|