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