We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1867b3 commit 4f1152bCopy full SHA for 4f1152b
components/lib/propTypes.js
@@ -72,7 +72,7 @@ export const material = PropTypes.shape({
72
normal: materialProperty,
73
specular: materialProperty,
74
displacement: materialProperty,
75
- diffuse: PropTypes.oneOf([PropTypes.string, materialProperty]),
+ diffuse: PropTypes.oneOfType([PropTypes.string, materialProperty]),
76
metalness: PropTypes.number,
77
roughness: PropTypes.number,
78
blendMode,
0 commit comments