mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
26 lines
541 B
TypeScript
26 lines
541 B
TypeScript
import { createHTMLElement } from "../HTMLElement";
|
|
|
|
export default {
|
|
title: "Scripting/Script",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
content: "Content",
|
|
async: false,
|
|
attributionsrc: "",
|
|
blocking: false,
|
|
crossorigin: "",
|
|
defer: false,
|
|
fetchpriority: "auto",
|
|
integrity: "",
|
|
nomodule: false,
|
|
referrerpolicy: "no-referrer",
|
|
src: "",
|
|
type: "text/javascript",
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return createHTMLElement("script", args);
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|