-
Notifications
You must be signed in to change notification settings - Fork 0
/
colgroup.ts
60 lines (58 loc) · 2.31 KB
/
colgroup.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
/**
* @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";
/**
* ColgroupElementProps are the props for the [`colgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/colgroup>
*/
export interface ColgroupElementProps extends GlobalAttributes {
/**
* `align` is an attribute of the [`colgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/colgroup#align>
* @deprecated
*/
align?: string | undefined;
/**
* `char` is an attribute of the [`colgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/colgroup#char>
* @deprecated
*/
char?: string | undefined;
/**
* `charoff` is an attribute of the [`colgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/colgroup#charoff>
* @deprecated
*/
charoff?: string | undefined;
/**
* `span` is an attribute of the [`colgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/colgroup#span>
*/
span?: string | undefined;
/**
* `valign` is an attribute of the [`colgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/colgroup#valign>
* @deprecated
*/
valign?: string | undefined;
/**
* `width` is an attribute of the [`colgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/colgroup#width>
* @deprecated
*/
width?: string | undefined;
}
/**
* colgroup renders the [`colgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/colgroup>
*/
export function colgroup(
props?: ColgroupElementProps,
...children: string[]
): string {
return renderElement("colgroup", props as AnyProps, false, children);
}