picocss/stories/html.stories.ts

21 lines
380 B
TypeScript
Raw Normal View History

2025-04-04 11:51:33 +02:00
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 = {};