mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 01:26:13 -04:00
19 lines
363 B
TypeScript
19 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 = {};
|