-
Notifications
You must be signed in to change notification settings - Fork 0
/
body.ts
82 lines (80 loc) · 3.24 KB
/
body.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/**
* @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";
/**
* BodyElementProps are the props for the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body>
*/
export interface BodyElementProps extends GlobalAttributes {
/**
* `alink` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#alink>
* @deprecated
*/
alink?: string | undefined;
/**
* `background` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#background>
* @deprecated
*/
background?: string | undefined;
/**
* `bgcolor` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#bgcolor>
* @deprecated
*/
bgcolor?: string | undefined;
/**
* `bottommargin` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#bottommargin>
* @deprecated
*/
bottommargin?: string | undefined;
/**
* `leftmargin` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#leftmargin>
* @deprecated
*/
leftmargin?: string | undefined;
/**
* `link` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#link>
* @deprecated
*/
link?: string | undefined;
/**
* `rightmargin` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#rightmargin>
* @deprecated
*/
rightmargin?: string | undefined;
/**
* `text` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#text>
* @deprecated
*/
text?: string | undefined;
/**
* `topmargin` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#topmargin>
* @deprecated
*/
topmargin?: string | undefined;
/**
* `vlink` is an attribute of the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body#vlink>
* @deprecated
*/
vlink?: string | undefined;
}
/**
* body renders the [`body`](https://developer.mozilla.org/docs/Web/HTML/Element/body) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/body>
*/
export function body(props?: BodyElementProps, ...children: string[]): string {
return renderElement("body", props as AnyProps, false, children);
}