Add Checkboxes

This commit is contained in:
Hristo Nedelkov 2023-09-25 18:58:47 +03:00
parent 13bdc216cf
commit 13e8680a7c
2 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
import { Input, Text } from "@status-im/components" import { Checkbox, Input, Text } from "@status-im/components"
import { useState } from "react" import { useState } from "react"
import { Checkbox, Stack, Switch, XStack, YStack } from "tamagui" import { Stack, Switch, XStack, YStack } from "tamagui"
const BeackonAddress = () => { const BeackonAddress = () => {
const [isBeaconSwitchOn, setIsBeaconSwitchOn] = useState(false) const [isBeaconSwitchOn, setIsBeaconSwitchOn] = useState(false)
@ -43,7 +43,6 @@ const BeackonAddress = () => {
/> />
</YStack> </YStack>
<Stack style={{ alignItems: 'center', justifyContent: 'center' }} height={'100%'} width={'10%'}> <Stack style={{ alignItems: 'center', justifyContent: 'center' }} height={'100%'} width={'10%'}>
<Checkbox <Checkbox
id='checkforaddress' id='checkforaddress'
variant="outline" variant="outline"

View File

@ -1,6 +1,6 @@
import { Input, Text } from "@status-im/components" import { Checkbox, Input, Text } from "@status-im/components"
import { useState } from "react" import { useState } from "react"
import { Checkbox, Stack, Switch, XStack, YStack } from "tamagui" import { Stack, Switch, XStack, YStack } from "tamagui"
const ClientAddressRow = () => { const ClientAddressRow = () => {
const [isBeaconSwitchOn, setIsBeaconSwitchOn] = useState(false) const [isBeaconSwitchOn, setIsBeaconSwitchOn] = useState(false)
@ -39,11 +39,10 @@ const ClientAddressRow = () => {
<Input <Input
placeholder={''} placeholder={''}
value={vcPort} value={vcPort}
onChangeText={(e) => { setVcPort(e)}} onChangeText={(e) => { setVcPort(e) }}
/> />
</YStack> </YStack>
<Stack style={{ alignItems: 'center', justifyContent: 'center' }} height={'100%'} width={'10%'}> <Stack style={{ alignItems: 'center', justifyContent: 'center' }} height={'100%'} width={'10%'}>
<Checkbox <Checkbox
id='checkforaddress' id='checkforaddress'
variant="outline" variant="outline"