import { useHistory } from "react-router-dom"; import styles from "./buttons.module.scss"; const BtnGroup = ({ text, disabled, handleSubmit }) => { const history = useHistory(); return (
) } export default BtnGroup