fix: drawer remove visible isRequired #4908

pull/4940/head
tangjinzhou 2021-11-26 21:54:40 +08:00
parent bbfe451d5e
commit ddc34539a9
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ const drawerProps = () => ({
bodyStyle: PropTypes.object,
contentWrapperStyle: PropTypes.object,
title: PropTypes.VNodeChild,
visible: PropTypes.looseBool.isRequired,
visible: PropTypes.looseBool,
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
zIndex: PropTypes.number,