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