-
Notifications
You must be signed in to change notification settings - Fork 0
/
area.ts
73 lines (71 loc) · 3.01 KB
/
area.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
/**
* @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";
/**
* AreaElementProps are the props for the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area>
*/
export interface AreaElementProps extends GlobalAttributes {
/**
* `alt` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#alt>
*/
alt?: string | undefined;
/**
* `coords` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#coords>
*/
coords?: string | undefined;
/**
* `download` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#download>
*/
download?: string | undefined;
/**
* `href` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#href>
*/
href?: string | undefined;
/**
* `nohref` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#nohref>
* @deprecated
*/
nohref?: string | undefined;
/**
* `ping` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#ping>
*/
ping?: string | undefined;
/**
* `referrerpolicy` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#referrerpolicy>
*/
referrerpolicy?: string | undefined;
/**
* `rel` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#rel>
*/
rel?: string | undefined;
/**
* `shape` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#shape>
*/
shape?: string | undefined;
/**
* `target` is an attribute of the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area#target>
*/
target?: string | undefined;
}
/**
* area renders the [`area`](https://developer.mozilla.org/docs/Web/HTML/Element/area) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/area>
*/
export function area(props?: AreaElementProps): string {
return renderElement("area", props as AnyProps, true);
}