-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathMultichainAddressRow.constants.ts
More file actions
38 lines (35 loc) · 1.19 KB
/
MultichainAddressRow.constants.ts
File metadata and controls
38 lines (35 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { MultichainAddressRowProps } from './MultichainAddressRow.types';
import { IconName } from '../../../components/Icons/Icon';
export const MULTICHAIN_ADDRESS_ROW_TEST_ID = 'multichain-address-row';
export const MULTICHAIN_ADDRESS_ROW_NETWORK_ICON_TEST_ID =
'multichain-address-row-network-icon';
export const MULTICHAIN_ADDRESS_ROW_NETWORK_NAME_TEST_ID =
'multichain-address-row-network-name';
export const MULTICHAIN_ADDRESS_ROW_ADDRESS_TEST_ID =
'multichain-address-row-address';
export const MULTICHAIN_ADDRESS_ROW_COPY_BUTTON_TEST_ID =
'multichain-address-row-copy-button';
export const MULTICHAIN_ADDRESS_ROW_QR_BUTTON_TEST_ID =
'multichain-address-row-qr-button';
export const SAMPLE_ICONS = [
{
name: IconName.Copy,
callback: () => {
// Do nothing
},
testId: MULTICHAIN_ADDRESS_ROW_COPY_BUTTON_TEST_ID,
},
{
name: IconName.QrCode,
callback: () => {
// Do nothing
},
testId: MULTICHAIN_ADDRESS_ROW_QR_BUTTON_TEST_ID,
},
];
export const SAMPLE_MULTICHAIN_ADDRESS_ROW_PROPS: MultichainAddressRowProps = {
chainId: 'eip155:1',
networkName: 'Ethereum Mainnet',
address: '0x1234567890123456789012345678901234567890',
icons: SAMPLE_ICONS,
};