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