feat: render different inputs for advanced

This commit is contained in:
RadoslavDimchev 2023-12-20 09:36:31 +02:00
parent e168639698
commit 0fa87a5e0a
1 changed files with 8 additions and 2 deletions

View File

@ -32,8 +32,14 @@ const ConnectViaIP = () => {
Advanced
</Button>
</XStack>
<AddressPortInputs addressType="Validator Client" portType="VC" />
<AddressPortInputs addressType="Beacon" portType="Beacon" />
{isAdvanced ? (
<>
<AddressPortInputs addressType="Beacon" portType="Beacon" />
<AddressPortInputs addressType="Validator Client" portType="VC" />
</>
) : (
<AddressPortInputs addressType="Node Address" portType="VC" />
)}
<Separator borderColor={'#e3e3e3'} />
<YStack space={'$2'}>
<Text size={11} color={'#647084'}>