import { WebApplication } from '@/UIModels/Application' import { AppState } from '@/UIModels/AppState' import { PurchaseFlowPane } from '@/UIModels/AppState/PurchaseFlowState' import { observer } from 'mobx-react-lite' import { FunctionComponent } from 'preact' import { CreateAccount } from './Panes/CreateAccount' import { SignIn } from './Panes/SignIn' import { SNLogoFull } from '@standardnotes/stylekit' type PaneSelectorProps = { currentPane: PurchaseFlowPane } & PurchaseFlowViewProps type PurchaseFlowViewProps = { appState: AppState application: WebApplication } const PurchaseFlowPaneSelector: FunctionComponent = ({ currentPane, appState, application }) => { switch (currentPane) { case PurchaseFlowPane.CreateAccount: return case PurchaseFlowPane.SignIn: return } } export const PurchaseFlowView: FunctionComponent = observer(({ appState, application }) => { const { currentPane } = appState.purchaseFlow return (
) })