mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 19:12:20 +08:00
react Add 'as' attribute for link element (#20769)
This commit is contained in:
3
types/react/index.d.ts
vendored
3
types/react/index.d.ts
vendored
@@ -2493,6 +2493,7 @@ declare namespace React {
|
||||
allowFullScreen?: boolean;
|
||||
allowTransparency?: boolean;
|
||||
alt?: string;
|
||||
as?: string;
|
||||
async?: boolean;
|
||||
autoComplete?: string;
|
||||
autoFocus?: boolean;
|
||||
@@ -2602,6 +2603,7 @@ declare namespace React {
|
||||
rel?: string;
|
||||
target?: string;
|
||||
type?: string;
|
||||
as?: string;
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-empty-interface
|
||||
@@ -2787,6 +2789,7 @@ declare namespace React {
|
||||
rel?: string;
|
||||
sizes?: string;
|
||||
type?: string;
|
||||
as?: string;
|
||||
}
|
||||
|
||||
interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
||||
|
||||
Reference in New Issue
Block a user