From 6cc33d598ed72655145b08acb031d983c5f539bc Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Fri, 22 Sep 2023 17:34:04 +0300 Subject: [PATCH] Create ClientAddressRow.tsx --- .../ClientAddressRow.tsx | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/pages/ConnectExistingInstance/ClientAddressRow.tsx diff --git a/src/pages/ConnectExistingInstance/ClientAddressRow.tsx b/src/pages/ConnectExistingInstance/ClientAddressRow.tsx new file mode 100644 index 00000000..593852f8 --- /dev/null +++ b/src/pages/ConnectExistingInstance/ClientAddressRow.tsx @@ -0,0 +1,61 @@ +import { Input, Text } from "@status-im/components" +import { useState } from "react" +import { Checkbox, Stack, Switch, XStack, YStack } from "tamagui" + +const ClientAddressRow = () => { + const [isBeaconSwitchOn, setIsBeaconSwitchOn] = useState(false) + const [inputAdress, setInputAdress] = useState('') + const [vcPort, setVcPort] = useState('') + const [isClientAddressChecked, setIsClientAddressChecked] = useState(false) + + return ( + + + + + Protocol + (HTTP/HTTPS) + + + setIsBeaconSwitchOn(prev => !prev)}> + + + + + + Validator Client Address + + { }} + /> + + + + + VC Port + + { }} + /> + + + + setIsClientAddressChecked(prev => !prev)} + size={32} + /> + + + + + ) +} + +export default ClientAddressRow \ No newline at end of file