Commit cefbc84 1 parent bf6b74e commit cefbc84 Copy full SHA for cefbc84
File tree 1 file changed +23
-19
lines changed
suite-native/module-send/src/components
1 file changed +23
-19
lines changed Original file line number Diff line number Diff line change
1
+ import Animated , { FadeIn , FadeOut } from 'react-native-reanimated' ;
2
+
1
3
import { Link } from '@suite-native/link' ;
2
4
import { HStack , Text } from '@suite-native/atoms' ;
3
5
import { Icon } from '@suite-native/icons' ;
@@ -6,23 +8,25 @@ import { Translation } from '@suite-native/intl';
6
8
const LINK_URL = 'https://trezor.io/learn/a/evm-address-checksum-in-trezor-suite' ;
7
9
8
10
export const AddressChecksumMessage = ( ) => (
9
- < HStack >
10
- < Icon name = "info" size = "medium" color = "iconSubdued" />
11
- < Text variant = "label" color = "textSubdued" >
12
- < Translation
13
- id = "moduleSend.outputs.recipients.checksum.label"
14
- values = { {
15
- link : linkChunk => (
16
- < Link
17
- href = { LINK_URL }
18
- label = { linkChunk }
19
- textVariant = "label"
20
- isUnderlined
21
- textColor = "textSubdued"
22
- />
23
- ) ,
24
- } }
25
- />
26
- </ Text >
27
- </ HStack >
11
+ < Animated . View entering = { FadeIn } exiting = { FadeOut } >
12
+ < HStack >
13
+ < Icon name = "info" size = "medium" color = "iconSubdued" />
14
+ < Text variant = "label" color = "textSubdued" >
15
+ < Translation
16
+ id = "moduleSend.outputs.recipients.checksum.label"
17
+ values = { {
18
+ link : linkChunk => (
19
+ < Link
20
+ href = { LINK_URL }
21
+ label = { linkChunk }
22
+ textVariant = "label"
23
+ isUnderlined
24
+ textColor = "textSubdued"
25
+ />
26
+ ) ,
27
+ } }
28
+ />
29
+ </ Text >
30
+ </ HStack >
31
+ </ Animated . View >
28
32
) ;
You can’t perform that action at this time.
0 commit comments