Rev 1399 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'
import { styled } from '@mui/material'
const StyledForm = styled('form')`
position: relative;
h3 {
font-size: 18px;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
position: relative;
width: fit-content;
&:before {
content: '';
position: absolute;
background-color: #0961bf;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
}
}
button {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
margin-top: 0.5rem;
width: 100%;
}
`
const Form = ({ children, ...rest }) => {
return <StyledForm {...rest}>{children}</StyledForm>
}
export default Form