diff options
author | Sebastian <sebasjm@gmail.com> | 2021-10-27 15:13:35 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-10-27 15:13:35 -0300 |
commit | 32318a80f48bf52ca7823a0c055164f43bdaf1d6 (patch) | |
tree | 08ef42e65d1db93f3958dd75d39f4bff1d03d2b6 /packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx | |
parent | 21b60c8f6ff69bf114779a767a3ac3355f69a34f (diff) | |
download | wallet-core-32318a80f48bf52ca7823a0c055164f43bdaf1d6.tar.xz |
working version with improved ui
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx b/packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx index 1c2a9a92e..c4ddeff91 100644 --- a/packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx +++ b/packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx @@ -6,7 +6,7 @@ import { import { h, VNode } from "preact"; import { useState } from "preact/hooks"; import { AuthMethodSetupProps } from "./AuthenticationEditorScreen"; -import { LabeledInput } from "../../components/fields/LabeledInput"; +import { TextInput } from "../../components/fields/TextInput"; export function AuthMethodPostSetup(props: AuthMethodSetupProps): VNode { const [fullName, setFullName] = useState(""); @@ -42,22 +42,22 @@ export function AuthMethodPostSetup(props: AuthMethodSetupProps): VNode { code that you will receive in a letter to that address. </p> <div> - <LabeledInput + <TextInput grabFocus label="Full Name" bind={[fullName, setFullName]} /> </div> <div> - <LabeledInput label="Street" bind={[street, setStreet]} /> + <TextInput label="Street" bind={[street, setStreet]} /> </div> <div> - <LabeledInput label="City" bind={[city, setCity]} /> + <TextInput label="City" bind={[city, setCity]} /> </div> <div> - <LabeledInput label="Postal Code" bind={[postcode, setPostcode]} /> + <TextInput label="Postal Code" bind={[postcode, setPostcode]} /> </div> <div> - <LabeledInput label="Country" bind={[country, setCountry]} /> + <TextInput label="Country" bind={[country, setCountry]} /> </div> <div> <button onClick={() => props.cancel()}>Cancel</button> |