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