Proyectos de Subversion LeadersLinked - SPA

Rev

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