feat: create clickable download and make hanlder

This commit is contained in:
RadoslavDimchev 2023-08-30 10:16:06 +03:00
parent cbab14e1b2
commit 54a351a6c8
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@ const KeystoreFiles = () => {
setConfirmEncryptedPassword('') setConfirmEncryptedPassword('')
} }
const downloadKeyFilesHandler = () => {}
return ( return (
<YStack space={'$4'}> <YStack space={'$4'}>
<XStack space={'$2'} style={{ justifyContent: 'space-between', width: '100%' }}> <XStack space={'$2'} style={{ justifyContent: 'space-between', width: '100%' }}>
@ -73,7 +75,9 @@ const KeystoreFiles = () => {
padding: '12px 16px', padding: '12px 16px',
width: '32%', width: '32%',
marginTop: '3.4%', marginTop: '3.4%',
cursor: 'pointer',
}} }}
onClick={downloadKeyFilesHandler}
> >
<Text size={15} weight={'semibold'}> <Text size={15} weight={'semibold'}>
Download Key Files Download Key Files