PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | src/Views/Components/Button/index.js +0 -10 2.30.04.16.9 View file →
@@ -1,5 +1,4 @@
1 -import PropTypes from 'prop-types';
2 1 import classNames from 'classnames';
3 2
4 3 import styles from './style.module.scss';
5 4
@@ -13,16 +12,7 @@
13 12 <button className={classes} onClick={onClick} {...rest}>
14 13 {children}
15 14 </button>
16 15 );
17 -};
18 -
19 -Button.propTypes = {
20 - // Button children
21 - children: PropTypes.node,
22 - // Fired on button click
23 - onClick: PropTypes.func,
24 - // Icon
25 - icon: PropTypes.bool,
26 16 };
27 17
28 18 export default Button;