mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
Update th and td attributes to include abbr (#40464)
Both `th` and `td` attributes accept the attribute `abbr`, which is meant to be an abbreviated description of the cell's content, mostly for screen readers. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
This commit is contained in:
committed by
John Reilly
parent
3b6c5e9484
commit
ca1d51aa09
Vendored
+2
@@ -2196,6 +2196,7 @@ declare namespace React {
|
||||
headers?: string;
|
||||
rowSpan?: number;
|
||||
scope?: string;
|
||||
abbr?: string;
|
||||
valign?: "top" | "middle" | "bottom" | "baseline";
|
||||
}
|
||||
|
||||
@@ -2205,6 +2206,7 @@ declare namespace React {
|
||||
headers?: string;
|
||||
rowSpan?: number;
|
||||
scope?: string;
|
||||
abbr?: string;
|
||||
}
|
||||
|
||||
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
||||
|
||||
Reference in New Issue
Block a user