mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-14 04:16:28 +00:00
feat: pass props for inputs
This commit is contained in:
parent
9ca0a46528
commit
efb6388a2f
@ -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'}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user