We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
any
1 parent 611e590 commit 6391e31Copy full SHA for 6391e31
src/components/CloudinaryComponent/CloudinaryComponent.js
@@ -105,13 +105,7 @@ function typesFrom(configParams) {
105
configParams = configParams || [];
106
const types = {};
107
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
- ]);
+ types[camelCase(key)] = PropTypes.any;
115
}
116
return types;
117
0 commit comments