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.
1 parent 6b13a73 commit d140fe3Copy full SHA for d140fe3
packages/emotion/src/InstUISettingsProvider/index.tsx
@@ -122,7 +122,7 @@ function InstUISettingsProvider({
122
InstUISettingsProvider.propTypes = {
123
/* eslint-disable react/require-default-props */
124
children: PropTypes.node,
125
- theme: PropTypes.oneOf([PropTypes.object, PropTypes.func]),
+ theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),
126
dir: PropTypes.oneOf(['ltr', 'rtl']),
127
instanceCounterMap: PropTypes.instanceOf(Map),
128
as: PropTypes.string
0 commit comments