We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c257b6c commit cf2fc4aCopy full SHA for cf2fc4a
packages/buttons/src/views/icon-button/ChevronButton.js
@@ -46,7 +46,7 @@ ChevronButton.propTypes = {
46
hovered: PropTypes.bool,
47
active: PropTypes.bool,
48
/** Callback for reference of the native button element */
49
- buttonRef: PropTypes.func,
+ buttonRef: PropTypes.any,
50
/** Rotates icon 180 degrees */
51
rotated: PropTypes.bool
52
};
packages/buttons/src/views/icon-button/IconButton.js
@@ -45,7 +45,7 @@ IconButton.propTypes = {
45
- buttonRef: PropTypes.func
+ buttonRef: PropTypes.any
IconButton.defaultProps = {
0 commit comments