-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.ts
48 lines (46 loc) · 1.89 KB
/
meta.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
/**
* @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";
/**
* MetaElementProps are the props for the [`meta`](https://developer.mozilla.org/docs/Web/HTML/Element/meta) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meta>
*/
export interface MetaElementProps extends GlobalAttributes {
/**
* `charset` is an attribute of the [`meta`](https://developer.mozilla.org/docs/Web/HTML/Element/meta) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meta#charset>
*/
charset?: string | undefined;
/**
* `content` is an attribute of the [`meta`](https://developer.mozilla.org/docs/Web/HTML/Element/meta) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meta#content>
*/
content?: string | undefined;
/**
* `http-equiv` is an attribute of the [`meta`](https://developer.mozilla.org/docs/Web/HTML/Element/meta) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meta#http-equiv>
*/
"http-equiv"?: string | undefined;
/**
* `name` is an attribute of the [`meta`](https://developer.mozilla.org/docs/Web/HTML/Element/meta) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meta#name>
*/
name?: string | undefined;
/**
* `scheme` is an attribute of the [`meta`](https://developer.mozilla.org/docs/Web/HTML/Element/meta) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meta#scheme>
* @deprecated
*/
scheme?: string | undefined;
}
/**
* meta renders the [`meta`](https://developer.mozilla.org/docs/Web/HTML/Element/meta) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/meta>
*/
export function meta(props?: MetaElementProps): string {
return renderElement("meta", props as AnyProps, true);
}