Skip to content

Commit

Permalink
fix: use undefined as Popup default props (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin authored Jul 19, 2022
1 parent 566ac64 commit d08f0c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Popup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ class Popup extends PureComponent<Props> {
static defaultProps = {
closeButton: true,
closeOnClick: true,
onClose: null,
anchor: null,
offset: null,
className: null,
onClose: undefined,
anchor: undefined,
offset: undefined,
className: undefined,
maxWidth: '240px'
};

Expand Down

0 comments on commit d08f0c5

Please sign in to comment.