mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
18 lines
363 B
TypeScript
18 lines
363 B
TypeScript
import { createHTMLElement } from "../HTMLElement";
|
|
|
|
export default {
|
|
title: "EmbeddedContent/Embed",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
src: "https://example.com",
|
|
type: "text/html",
|
|
width: 300,
|
|
height: 200,
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return createHTMLElement("embed", args);
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|