mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
[React.14] Add checkedLink/valueLink to HTMLAttributes for LinkedStateMixin
This commit is contained in:
Vendored
+5
-2
@@ -324,8 +324,6 @@ declare namespace __React {
|
||||
}
|
||||
|
||||
interface HTMLProps extends HTMLAttributes, Props<HTMLElement> {
|
||||
defaultChecked?: boolean;
|
||||
defaultValue?: string | string[];
|
||||
}
|
||||
|
||||
interface SVGProps extends SVGAttributes, Props<SVGElement> {
|
||||
@@ -454,6 +452,11 @@ declare namespace __React {
|
||||
}
|
||||
|
||||
interface HTMLAttributes extends DOMAttributes {
|
||||
// React-specific Attributes
|
||||
defaultChecked?: boolean;
|
||||
defaultValue?: string | string[];
|
||||
|
||||
// Standard HTML Attributes
|
||||
accept?: string;
|
||||
acceptCharset?: string;
|
||||
accessKey?: string;
|
||||
|
||||
Reference in New Issue
Block a user