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.
imageProps
1 parent 2b51d30 commit 1f34aedCopy full SHA for 1f34aed
components/vc-image/src/Image.tsx
@@ -43,7 +43,7 @@ export const imageProps = {
43
PropTypes.shape({
44
visible: PropTypes.bool,
45
onVisibleChange: PropTypes.func,
46
- getContainer: PropTypes.oneOf([PropTypes.func, PropTypes.bool]),
+ getContainer: PropTypes.oneOfType([PropTypes.func, PropTypes.looseBool, PropTypes.string]),
47
}).loose,
48
]).def(true),
49
};
0 commit comments