mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
18 lines
328 B
TypeScript
18 lines
328 B
TypeScript
![]() |
import { createHTMLElement } from "../HTMLElement";
|
||
|
|
||
|
export default {
|
||
|
title: "Scripting/Canvas",
|
||
|
tags: ["autodocs"],
|
||
|
args: {
|
||
|
content: "Content",
|
||
|
height: 100,
|
||
|
width: 100,
|
||
|
},
|
||
|
// Render the <html> element
|
||
|
render: (args) => {
|
||
|
return createHTMLElement("canvas", args);
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const Default = {};
|