|
Ultima modificación |
Ver Log
|
| Rev |
Autor |
Línea Nro. |
Línea |
| 6509 |
stevensc |
1 |
import React from 'react'
|
|
|
2 |
import styled from 'styled-components'
|
|
|
3 |
|
|
|
4 |
const StyledFormErrorFeedback = styled.p`
|
|
|
5 |
color: #ff0000;
|
|
|
6 |
font-size: 0.9rem;
|
|
|
7 |
margin: 0.2rem 0;
|
|
|
8 |
`
|
|
|
9 |
|
|
|
10 |
const FormErrorFeedback = ({ children }) => {
|
|
|
11 |
return <StyledFormErrorFeedback>{children}</StyledFormErrorFeedback>
|
|
|
12 |
}
|
|
|
13 |
|
|
|
14 |
export default FormErrorFeedback
|