-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhr.ts
52 lines (50 loc) · 1.88 KB
/
hr.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
/**
* @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";
/**
* HrElementProps are the props for the [`hr`](https://developer.mozilla.org/docs/Web/HTML/Element/hr) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/hr>
*/
export interface HrElementProps extends GlobalAttributes {
/**
* `align` is an attribute of the [`hr`](https://developer.mozilla.org/docs/Web/HTML/Element/hr) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/hr#align>
* @deprecated
*/
align?: string | undefined;
/**
* `color` is an attribute of the [`hr`](https://developer.mozilla.org/docs/Web/HTML/Element/hr) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/hr#color>
* @deprecated
*/
color?: string | undefined;
/**
* `noshade` is an attribute of the [`hr`](https://developer.mozilla.org/docs/Web/HTML/Element/hr) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/hr#noshade>
* @deprecated
*/
noshade?: string | undefined;
/**
* `size` is an attribute of the [`hr`](https://developer.mozilla.org/docs/Web/HTML/Element/hr) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/hr#size>
* @deprecated
*/
size?: string | undefined;
/**
* `width` is an attribute of the [`hr`](https://developer.mozilla.org/docs/Web/HTML/Element/hr) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/hr#width>
* @deprecated
*/
width?: string | undefined;
}
/**
* hr renders the [`hr`](https://developer.mozilla.org/docs/Web/HTML/Element/hr) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/hr>
*/
export function hr(props?: HrElementProps): string {
return renderElement("hr", props as AnyProps, true);
}