Last active
July 17, 2021 16:35
-
-
Save DZuz14/dd29367eb175e4acaf67a6b8058d6669 to your computer and use it in GitHub Desktop.
coh1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Form } from 'react-bootstrap' | |
import formData from './formData' | |
const SomeComponent = () => { | |
return ( | |
<div css={CSS}> | |
<Form>{/* */}</Form> | |
</div> | |
) | |
} | |
const CSS = css` | |
height: 100%; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
flex-direction: column; | |
background: #282c34; | |
form { | |
width: 400px; | |
} | |
label { | |
color: #adb5bd; | |
text-transform: capitalize; | |
} | |
.success { | |
color: white; | |
text-align: center; | |
} | |
.submit-button { | |
width: 100%; | |
text-align: center; | |
} | |
.error-message { | |
color: #e74d5b; | |
margin-top: 5px; | |
} | |
.outline-error { | |
border: 1px solid #e74d5b; | |
} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment