Skip to content

Commit

Permalink
Add HTMLMTrElement interface
Browse files Browse the repository at this point in the history
  • Loading branch information
fekete965 authored and marvinhagemeister committed Dec 8, 2023
1 parent 89db29d commit e877e11
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2797,6 +2797,27 @@ export namespace JSXInternal {

export interface HTMLMTextElement extends MathMLElement {}

export interface HTMLMTrElement extends MathMLElement {
/** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr#columnalign */
columnalign?:
| 'center'
| 'left'
| 'right'
| undefined
| SignalLike<'center' | 'left' | 'right' | undefined>;
/** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr#rowalign */
rowalign?:
| 'axis'
| 'baseline'
| 'bottom'
| 'center'
| 'top'
| undefined
| SignalLike<
'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
>;
}

export interface IntrinsicElements {
// HTML
a: HTMLAttributes<HTMLAnchorElement>;
Expand Down Expand Up @@ -3007,5 +3028,6 @@ export namespace JSXInternal {
mtable: MathMLAttributes<HTMLMTableElement>;
mtd: MathMLAttributes<HTMLMTdElement>;
mtext: MathMLAttributes<HTMLMTextElement>;
mtr: MathMLAttributes<HTMLMTrElement>;
}
}

0 comments on commit e877e11

Please sign in to comment.