We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbfe451 commit ddc3453Copy full SHA for ddc3453
components/drawer/index.tsx
@@ -56,7 +56,7 @@ const drawerProps = () => ({
56
bodyStyle: PropTypes.object,
57
contentWrapperStyle: PropTypes.object,
58
title: PropTypes.VNodeChild,
59
- visible: PropTypes.looseBool.isRequired,
+ visible: PropTypes.looseBool,
60
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
61
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
62
zIndex: PropTypes.number,
0 commit comments