Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1277 | Rev 1437 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1255 stevensc 1
import React from 'react'
2
import styled from 'styled-components'
3
 
4
const StyledForm = styled.form`
1277 stevensc 5
  position: relative;
6
 
1255 stevensc 7
  h3 {
8
    font-size: 18px;
9
    padding-bottom: 0.5rem;
10
    margin-bottom: 1rem;
11
    position: relative;
12
    width: fit-content;
13
    &:before {
14
      content: '';
15
      position: absolute;
16
      background-color: #0961bf;
17
      bottom: 0;
18
      left: 0;
19
      width: 100%;
20
      height: 2px;
21
    }
22
  }
23
 
24
  button {
25
    padding-top: 0.5rem;
26
    padding-bottom: 0.5rem;
1266 stevensc 27
    margin-top: 0.5rem;
1255 stevensc 28
    width: 100%;
29
  }
30
`
31
 
32
const Form = ({ children, ...rest }) => {
33
  return <StyledForm {...rest}>{children}</StyledForm>
34
}
35
 
36
export default Form