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