-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.ts
27 lines (25 loc) · 990 Bytes
/
map.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
/**
* @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";
/**
* MapElementProps are the props for the [`map`](https://developer.mozilla.org/docs/Web/HTML/Element/map) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/map>
*/
export interface MapElementProps extends GlobalAttributes {
/**
* `name` is an attribute of the [`map`](https://developer.mozilla.org/docs/Web/HTML/Element/map) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/map#name>
*/
name?: string | undefined;
}
/**
* map renders the [`map`](https://developer.mozilla.org/docs/Web/HTML/Element/map) element.
* @see <https://developer.mozilla.org/docs/Web/HTML/Element/map>
*/
export function map(props?: MapElementProps, ...children: string[]): string {
return renderElement("map", props as AnyProps, false, children);
}