Skip to content

Commit 6391e31

Browse files
author
Amir Tocker
committed
Set all propTypes to any.
1 parent 611e590 commit 6391e31

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/CloudinaryComponent/CloudinaryComponent.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,7 @@ function typesFrom(configParams) {
105105
configParams = configParams || [];
106106
const types = {};
107107
for (let key of configParams) {
108-
types[camelCase(key)] = PropTypes.oneOfType([
109-
PropTypes.string,
110-
PropTypes.arrayOf(PropTypes.string),
111-
PropTypes.object,
112-
PropTypes.arrayOf(PropTypes.object)
113-
114-
]);
108+
types[camelCase(key)] = PropTypes.any;
115109
}
116110
return types;
117111
}

0 commit comments

Comments
 (0)