Skip to content

Commit d140fe3

Browse files
committed
fix(emotion): fix proptype definition
INSTUI-4566
1 parent 6b13a73 commit d140fe3

File tree

1 file changed

+1
-1
lines changed
  • packages/emotion/src/InstUISettingsProvider

1 file changed

+1
-1
lines changed

packages/emotion/src/InstUISettingsProvider/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function InstUISettingsProvider({
122122
InstUISettingsProvider.propTypes = {
123123
/* eslint-disable react/require-default-props */
124124
children: PropTypes.node,
125-
theme: PropTypes.oneOf([PropTypes.object, PropTypes.func]),
125+
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),
126126
dir: PropTypes.oneOf(['ltr', 'rtl']),
127127
instanceCounterMap: PropTypes.instanceOf(Map),
128128
as: PropTypes.string

0 commit comments

Comments
 (0)