Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 11d6fa5

Browse files
committed
controPropTypes -> controlPropTypes (typo)
1 parent ea53daf commit 11d6fa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/field-component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ function getControlType(control, props, options) {
102102

103103
const defaultStrategy = {
104104
Control,
105-
controPropTypes: fieldPropTypes,
105+
controlPropTypes: fieldPropTypes,
106106
getFieldFromState,
107107
actions,
108108
};
109109

110110
function createFieldClass(customControlPropsMap = {}, s = defaultStrategy) {
111111
// Use the fieldPropTypes if no controlProptypes have been defined to
112112
// maintain backwards compatibiltiy.
113-
const controlPropTypes = s.controPropTypes || fieldPropTypes;
113+
const controlPropTypes = s.controlPropTypes || fieldPropTypes;
114114

115115
function mapStateToProps(state, props) {
116116
const {

0 commit comments

Comments
 (0)