feat: pass props for inputs

This commit is contained in:
RadoslavDimchev 2024-01-03 13:23:56 +02:00
parent 9ca0a46528
commit efb6388a2f
1 changed files with 12 additions and 1 deletions

View File

@ -37,7 +37,18 @@ const ConnectViaIP = () => {
Advanced
</Button>
</XStack>
<AddressPortInputs isAdvanced={isAdvanced} />
{isAdvanced ? (
<YStack space={'$3'}>
<AddressPortInputs
addressType={'Validator Client'}
portType={'VC'}
isAdvanced={isAdvanced}
/>
<AddressPortInputs addressType={'Beacon'} portType={'Beacon'} isAdvanced={isAdvanced} />
</YStack>
) : (
<AddressPortInputs addressType={'Node'} portType={''} isAdvanced={isAdvanced} />
)}
<Separator borderColor={'#e3e3e3'} />
<YStack space={'$2'}>
<Text size={13} color={'#647084'} weight={'semibold'}>