diff --git a/packages/button/src/Button.js b/packages/button/src/Button.js index 50da43ce0..4f640dcb6 100644 --- a/packages/button/src/Button.js +++ b/packages/button/src/Button.js @@ -14,6 +14,7 @@ import ButtonPresenter from "./presenters/ButtonPresenter"; const Button = (props) => { const { + buttonRef, disabled, icon, link, @@ -54,6 +55,7 @@ const Button = (props) => { onMouseUp: handleMouseUp, }) => ( { const { + buttonRef, disabled, hasFocus, hasHover, @@ -61,6 +62,7 @@ const ButtonPresenter = (props) => { return ( { ButtonPresenter.displayName = "ButtonPresenter"; ButtonPresenter.propTypes = { + buttonRef: PropTypes.func, disabled: PropTypes.bool, hasFocus: PropTypes.bool, hasHover: PropTypes.bool,