default props removed from SharePrompt

This commit is contained in:
svetlagasheva 2019-10-01 15:12:44 +03:00
parent 9c0ecc8621
commit 18cc4aec4d

View file

@ -62,9 +62,5 @@ SharePrompt.propTypes = {
url: PropTypes.string.isRequired,
close: PropTypes.func
};
SharePrompt.defaultProps = {
label: 'Share',
url: ''
};
module.exports = SharePrompt;