У меня проблема с оставлением текста моей кнопки на одной строке. Я использовал встроенный дисплей, но он не работал
<ButtonRegister> Não tem uma conta? <h5>Registre-se </h5></ButtonRegister>
стиль:
export const ButtonRegister = styled(Button)`
display: inline !important;
background: transparent !important;
color: #000 !important;
text-align: center !important;
align-items: center;
padding-left: 0 !important;
margin-top: 10px !important;
width: 100%;
&:hover {
background: transparent !important;
color: #21deff !important;
}
код: https://codesandbox.io/s/old-platform-u9lqq