mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Add missing label to WrappedFieldProps
All of the redux-form examples show `label` being passed to the `component` of a `Field`, and `label` is on `BaseFieldProps` for what's passed to the `Field`. However, `label` is missing from `WrappedFieldProps`, which is what's passed to the thing referenced by `component`.
This commit is contained in:
Vendored
+1
@@ -72,6 +72,7 @@ export class Field<P = GenericFieldHTMLAttributes | BaseFieldProps> extends Comp
|
||||
export interface WrappedFieldProps {
|
||||
input: WrappedFieldInputProps;
|
||||
meta: WrappedFieldMetaProps;
|
||||
label?: string;
|
||||
}
|
||||
|
||||
export interface WrappedFieldInputProps extends CommonFieldInputProps {
|
||||
|
||||
Reference in New Issue
Block a user