|
@ -1,11 +1,10 @@ |
|
|
import React, { Component } from 'react' |
|
|
import React from 'react' |
|
|
import PropTypes from 'prop-types' |
|
|
import PropTypes from 'prop-types' |
|
|
import Isvg from 'react-inlinesvg' |
|
|
import Isvg from 'react-inlinesvg' |
|
|
import zapLogo from 'icons/zap_logo.svg' |
|
|
import zapLogo from 'icons/zap_logo.svg' |
|
|
import styles from './FormContainer.scss' |
|
|
import styles from './FormContainer.scss' |
|
|
|
|
|
|
|
|
const FormContainer = ({ title, description, back, next, children }) => { |
|
|
const FormContainer = ({ title, description, back, next, children }) => ( |
|
|
return ( |
|
|
|
|
|
<div className={styles.container}> |
|
|
<div className={styles.container}> |
|
|
<div className={styles.titleBar} /> |
|
|
<div className={styles.titleBar} /> |
|
|
|
|
|
|
|
@ -13,8 +12,7 @@ const FormContainer = ({ title, description, back, next, children }) => { |
|
|
<section> |
|
|
<section> |
|
|
<Isvg src={zapLogo} /> |
|
|
<Isvg src={zapLogo} /> |
|
|
</section> |
|
|
</section> |
|
|
<section> |
|
|
<section /> |
|
|
</section> |
|
|
|
|
|
</header> |
|
|
</header> |
|
|
|
|
|
|
|
|
<div className={styles.info}> |
|
|
<div className={styles.info}> |
|
@ -41,8 +39,8 @@ const FormContainer = ({ title, description, back, next, children }) => { |
|
|
</div> |
|
|
</div> |
|
|
</footer> |
|
|
</footer> |
|
|
</div> |
|
|
</div> |
|
|
) |
|
|
) |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
FormContainer.propTypes = { |
|
|
FormContainer.propTypes = { |
|
|
title: PropTypes.string.isRequired, |
|
|
title: PropTypes.string.isRequired, |
|
|