Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sb): display raw tx data to fiat tx
- Loading branch information
Philip London
committed
Jul 17, 2020
1 parent
bcaaf4f
commit 04efa25
Showing
26 changed files
with
382 additions
and
60 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
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
16 changes: 16 additions & 0 deletions
16
...blockchain-wallet-v4-frontend/src/scenes/Transactions/TransactionList/template.fiattx.tsx
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,16 @@ | ||
import media from 'services/ResponsiveService' | ||
import React from 'react' | ||
import styled from 'styled-components' | ||
|
||
import { SBTransactionType } from 'core/types' | ||
import { TransactionRow } from '../components' | ||
|
||
const FiatTxListItem: React.FC<Props> = props => { | ||
return <TransactionRow>{JSON.stringify(props.tx)}</TransactionRow> | ||
} | ||
|
||
type Props = { | ||
tx: SBTransactionType | ||
} | ||
|
||
export default FiatTxListItem |
23 changes: 7 additions & 16 deletions
23
...ns/TransactionList/template.simplebuy.tsx → ...ions/TransactionList/template.sborder.tsx
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
14 changes: 14 additions & 0 deletions
14
packages/blockchain-wallet-v4-frontend/src/scenes/Transactions/components/index.tsx
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,14 @@ | ||
import styled from 'styled-components' | ||
|
||
export const TransactionRow = styled.div` | ||
width: 100%; | ||
display: flex; | ||
cursor: pointer; | ||
align-items: center; | ||
justify-content: space-between; | ||
border-bottom: 1px solid ${props => props.theme.grey000} !important; | ||
box-sizing: border-box; | ||
padding: 14px; | ||
padding-left: 0px; | ||
margin-left: 14px; | ||
` |
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
Oops, something went wrong.