-
Notifications
You must be signed in to change notification settings - Fork 0
/
fencedframe.ts
45 lines (43 loc) · 1.67 KB
/
fencedframe.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";
/**
* FencedframeElementProps are the props for the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe>
* @experimental
*/
export interface FencedframeElementProps extends GlobalAttributes {
/**
* `allow` is an attribute of the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe#allow>
* @experimental
*/
allow?: string | undefined;
/**
* `height` is an attribute of the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe#height>
* @experimental
*/
height?: string | undefined;
/**
* `width` is an attribute of the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe#width>
* @experimental
*/
width?: string | undefined;
}
/**
* fencedframe renders the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe>
* @experimental
*/
export function fencedframe(
props?: FencedframeElementProps,
...children: string[]
): string {
return renderElement("fencedframe", props as AnyProps, false, children);
}