-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP-9000: handle avalanche_sendTransaction (#1480)
- Loading branch information
Showing
38 changed files
with
466 additions
and
2,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react' | ||
import { copyToClipboard } from 'utils/DeviceTools' | ||
import { Text } from '@avalabs/k2-mobile' | ||
import { truncateNodeId } from 'utils/Utils' | ||
import AvaButton from './AvaButton' | ||
import CopySVG from './svg/CopySVG' | ||
|
||
export const NodeID = ({ nodeID }: { nodeID: string }): JSX.Element => { | ||
return ( | ||
<AvaButton.TextWithIcon | ||
textStyle={{ textAlign: 'left' }} | ||
onPress={() => copyToClipboard(nodeID)} | ||
icon={<CopySVG />} | ||
iconPlacement="left" | ||
text={ | ||
<Text variant="buttonSmall" sx={{ color: '$neutral50' }}> | ||
{truncateNodeId(nodeID)} | ||
</Text> | ||
} | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
150 changes: 0 additions & 150 deletions
150
...reens/rpc/components/shared/AvalancheSendTransaction/AddPermissionlessDelegatorTxView.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.