-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patha.ts
110 lines (108 loc) · 4.42 KB
/
a.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/**
* @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";
/**
* AElementProps are the props for the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a>
*/
export interface AElementProps extends GlobalAttributes {
/**
* `attributionsourceid` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#attributionsourceid>
* @experimental
*/
attributionsourceid?: string | undefined;
/**
* `attributionsrc` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#attributionsrc>
* @experimental
*/
attributionsrc?: string | undefined;
/**
* `charset` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#charset>
* @deprecated
*/
charset?: string | undefined;
/**
* `coords` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#coords>
* @deprecated
*/
coords?: string | undefined;
/**
* `download` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#download>
*/
download?: string | undefined;
/**
* `href` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#href>
*/
href?: string | undefined;
/**
* `hreflang` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#hreflang>
*/
hreflang?: string | undefined;
/**
* `hreftranslate` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#hreftranslate>
* @experimental
*/
hreftranslate?: string | undefined;
/**
* `name` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#name>
* @deprecated
*/
name?: string | undefined;
/**
* `ping` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#ping>
*/
ping?: string | undefined;
/**
* `referrerpolicy` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#referrerpolicy>
*/
referrerpolicy?: string | undefined;
/**
* `rel` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#rel>
*/
rel?: string | undefined;
/**
* `rev` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#rev>
* @deprecated
*/
rev?: string | undefined;
/**
* `shape` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#shape>
* @deprecated
*/
shape?: string | undefined;
/**
* `target` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#target>
*/
target?: string | undefined;
/**
* `type` is an attribute of the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a#type>
*/
type?: string | undefined;
}
/**
* a renders the [`a`](https://developer.mozilla.org/docs/Web/HTML/Element/a) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/a>
*/
export function a(props?: AElementProps, ...children: string[]): string {
return renderElement("a", props as AnyProps, false, children);
}