mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
20 lines
380 B
TypeScript
20 lines
380 B
TypeScript
export default {
|
|
title: "Example/HTML",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
content: "Content",
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return `<html>
|
|
<head>
|
|
<title>HTML Story</title>
|
|
</head>
|
|
<body>
|
|
<h1>Hello, world!</h1>
|
|
</body>
|
|
</html>`;
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|