import { shell } from 'electron' import React from 'react' import PropTypes from 'prop-types' import Isvg from 'react-inlinesvg' import FaAngleLeft from 'react-icons/lib/fa/angle-left' import FaAngleRight from 'react-icons/lib/fa/angle-right' import zapLogo from 'icons/zap_logo.svg' import styles from './FormContainer.scss' const FormContainer = ({ title, description, back, next, children }) => (
shell.openExternal( 'https://github.com/LN-Zap/zap-tutorials/blob/master/zap-desktop-getting-started.md' ) } > Need help?

{title}

{description}

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