Skip to content

Commit

Permalink
Add HTMLMTdElement 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 93648b2 commit d13125e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2772,6 +2772,29 @@ export namespace JSXInternal {
width?: string | undefined | SignalLike<string | undefined>;
}

export interface HTMLMTdElement extends MathMLElement {
columnspan?: number | undefined | SignalLike<number | undefined>;
rowspan?: number | undefined | SignalLike<number | undefined>;
/** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd#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/mtd#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 @@ -2980,5 +3003,6 @@ export namespace JSXInternal {
msubsup: MathMLAttributes<HTMLMSubsupElement>;
msup: MathMLAttributes<HTMLMSupElement>;
mtable: MathMLAttributes<HTMLMTableElement>;
mtd: MathMLAttributes<HTMLMTdElement>;
}
}

0 comments on commit d13125e

Please sign in to comment.