diff --git a/src/components/Button/index.jsx b/src/components/Button/index.jsx index 24c4fca8..0e610999 100644 --- a/src/components/Button/index.jsx +++ b/src/components/Button/index.jsx @@ -4,13 +4,14 @@ import PropTypes from 'prop-types'; import { useHistory } from 'react-router-dom'; import './button.css'; -const ButtonComponent = ({ variant, onClick, loading, toRoute, children, type }) => { +const ButtonComponent = ({ variant, onClick, loading, toRoute, children, type, isDisabled }) => { const history = useHistory(); return (