import React from 'react'; import {Dialog} from 'plugin-api/beta/client/components/ui'; import styles from './styles.css'; import SignInContent from './SignInContent'; import SignUpContent from './SignUpContent'; import ForgotContent from './ForgotContent'; import ResendVerification from './ResendVerification'; const SignDialog = ({open, view, resetSignInDialog, ...props}) => ( {view !== 'SIGNIN' && ×} {view === 'SIGNIN' && } {view === 'SIGNUP' && } {view === 'FORGOT' && } {view === 'RESEND_VERIFICATION' && } ); export default SignDialog;