mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
21 lines
415 B
TypeScript
21 lines
415 B
TypeScript
import { createHTMLElement } from "../HTMLElement";
|
|
|
|
export default {
|
|
title: "SvgAndMathML/SVG",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
content: "Content",
|
|
height: 100,
|
|
width: 100,
|
|
preserveAspectRatio: "xMidYMid meet",
|
|
viewBox: "0 0 100 100",
|
|
x: 0,
|
|
y: 0,
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return createHTMLElement("svg", args);
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|