import { shell } from 'electron' import React from 'react' import PropTypes from 'prop-types' import { FormattedMessage } from 'react-intl' import FaAngleLeft from 'react-icons/lib/fa/angle-left' import FaAngleRight from 'react-icons/lib/fa/angle-right' import ZapLogo from 'components/Icon/ZapLogo' import ZapLogoBlack from 'components/Icon/ZapLogoBlack' import Button from 'components/UI/Button' import messages from './messages' import styles from './FormContainer.scss' const FormContainer = ({ title, description, back, next, children, theme }) => (
{theme === 'light' ? ( ) : ( )}
shell.openExternal('https://ln-zap.github.io/zap-tutorials/zap-desktop-getting-started') } >

{title}

{description}

{children}
) FormContainer.propTypes = { title: PropTypes.object.isRequired, description: PropTypes.object.isRequired, theme: PropTypes.string.isRequired, back: PropTypes.func, next: PropTypes.func, children: PropTypes.object.isRequired } export default FormContainer