Skip to content

Commit

Permalink
fix: drawer remove visible isRequired #4908
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Nov 26, 2021
1 parent bbfe451 commit ddc3453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/drawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ddc3453

Please sign in to comment.