From 5883d42d800c7b444c59d626bcaa5abca7dc83d0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 19 Oct 2021 10:56:52 -0300 Subject: add template from merchant backoffice --- .../src/pages/home/ContinentSelectionScreen.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx (limited to 'packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx') diff --git a/packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx b/packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx new file mode 100644 index 000000000..2fed23d4e --- /dev/null +++ b/packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx @@ -0,0 +1,19 @@ +import { h, VNode } from "preact"; +import { CommonReducerProps, AnastasisClientFrame, withProcessLabel } from "./index"; + +export function ContinentSelectionScreen(props: CommonReducerProps): VNode { + const { reducer, reducerState } = props; + const sel = (x: string): void => reducer.transition("select_continent", { continent: x }); + return ( + + {reducerState.continents.map((x: any) => ( + + ))} + + ); +} -- cgit v1.2.3