-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
19 additions
and
330 deletions.
There are no files selected for viewing
301 changes: 8 additions & 293 deletions
301
app/components/UI/TransactionEdit/__snapshots__/index.test.js.snap
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 |
---|---|---|
@@ -1,297 +1,12 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`TransactionEdit should render correctly 1`] = ` | ||
<View | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"flex": 1, | ||
} | ||
} | ||
> | ||
<ActionView | ||
cancelTestID="" | ||
cancelText="Cancel" | ||
confirmButtonMode="normal" | ||
confirmTestID="" | ||
confirmText="Next" | ||
confirmed={false} | ||
keyboardShouldPersistTaps="handled" | ||
onConfirmPress={[Function]} | ||
onTouchablePress={[Function]} | ||
showCancelButton={true} | ||
showConfirmButton={true} | ||
> | ||
<View | ||
style={ | ||
Array [ | ||
Object { | ||
"flex": 1, | ||
"flexDirection": "column", | ||
"paddingHorizontal": 24, | ||
"paddingVertical": 16, | ||
}, | ||
Object {}, | ||
] | ||
} | ||
> | ||
<View | ||
style={ | ||
Array [ | ||
Object { | ||
"flexDirection": "row", | ||
}, | ||
Object { | ||
"left": 24, | ||
"marginRight": 0, | ||
"marginTop": 30, | ||
"position": "absolute", | ||
"right": 24, | ||
"zIndex": 5, | ||
}, | ||
] | ||
} | ||
> | ||
<View | ||
style={ | ||
Object { | ||
"flex": 0, | ||
"paddingRight": 18, | ||
"width": 106, | ||
} | ||
} | ||
> | ||
<Text | ||
style={ | ||
Object { | ||
"color": "#848c96", | ||
"fontFamily": "CircularStd-Medium", | ||
"fontSize": 16, | ||
"fontWeight": "600", | ||
} | ||
} | ||
> | ||
From | ||
: | ||
</Text> | ||
</View> | ||
<Connect(AccountSelect) | ||
enabled={false} | ||
onChange={[Function]} | ||
value="0x1" | ||
/> | ||
</View> | ||
<View | ||
style={ | ||
Array [ | ||
Object { | ||
"flexDirection": "row", | ||
}, | ||
Object { | ||
"marginTop": 18, | ||
"zIndex": 3, | ||
}, | ||
Object { | ||
"left": 24, | ||
"marginTop": 190, | ||
"position": "absolute", | ||
"right": 24, | ||
"zIndex": 4, | ||
}, | ||
] | ||
} | ||
> | ||
<View | ||
style={ | ||
Object { | ||
"flex": 0, | ||
"paddingRight": 18, | ||
"width": 106, | ||
} | ||
} | ||
> | ||
<Text | ||
style={ | ||
Object { | ||
"color": "#848c96", | ||
"fontFamily": "CircularStd-Medium", | ||
"fontSize": 16, | ||
"fontWeight": "600", | ||
} | ||
} | ||
> | ||
Amount | ||
: | ||
</Text> | ||
<TouchableOpacity | ||
onPress={[Function]} | ||
> | ||
<Text | ||
style={ | ||
Object { | ||
"color": "#037dd6", | ||
"fontFamily": "CircularStd-Medium", | ||
"fontSize": 12, | ||
"fontWeight": "600", | ||
"paddingTop": 6, | ||
} | ||
} | ||
> | ||
Max | ||
</Text> | ||
</TouchableOpacity> | ||
</View> | ||
<Connect(EthInput) | ||
fillMax={false} | ||
isOpen={false} | ||
onChange={[Function]} | ||
openEthInput={[Function]} | ||
updateFillMax={[Function]} | ||
value="" | ||
/> | ||
</View> | ||
<View | ||
style={ | ||
Array [ | ||
Object { | ||
"flexDirection": "row", | ||
}, | ||
Object { | ||
"left": 24, | ||
"marginTop": 120, | ||
"position": "absolute", | ||
"right": 24, | ||
"zIndex": 4, | ||
}, | ||
] | ||
} | ||
> | ||
<View | ||
style={ | ||
Object { | ||
"flex": 0, | ||
"paddingRight": 18, | ||
"width": 106, | ||
} | ||
} | ||
> | ||
<Text | ||
style={ | ||
Object { | ||
"color": "#848c96", | ||
"fontFamily": "CircularStd-Medium", | ||
"fontSize": 16, | ||
"fontWeight": "600", | ||
} | ||
} | ||
> | ||
To | ||
: | ||
</Text> | ||
</View> | ||
<Connect(AccountInput) | ||
address="0x2" | ||
closeDropdowns={[Function]} | ||
isOpen={false} | ||
navigation={ | ||
Object { | ||
"state": Object { | ||
"params": Object {}, | ||
}, | ||
} | ||
} | ||
onBlur={[Function]} | ||
onChange={[Function]} | ||
onFocus={[Function]} | ||
openAccountSelect={[Function]} | ||
placeholder="Recipient Address" | ||
updateToAddressError={[Function]} | ||
/> | ||
</View> | ||
<View | ||
style={ | ||
Array [ | ||
Object { | ||
"flexDirection": "row", | ||
}, | ||
Object { | ||
"marginTop": 18, | ||
"zIndex": 3, | ||
}, | ||
Object { | ||
"marginTop": 240, | ||
}, | ||
] | ||
} | ||
> | ||
<Connect(CustomGas) | ||
gas="" | ||
gasError="" | ||
gasPrice="" | ||
handleGasFeeSelection={[Function]} | ||
onPress={[Function]} | ||
totalGas={"14a"} | ||
/> | ||
</View> | ||
<View | ||
style={ | ||
Array [ | ||
Object { | ||
"flexDirection": "row", | ||
}, | ||
Object { | ||
"marginTop": 18, | ||
"zIndex": 3, | ||
}, | ||
] | ||
} | ||
> | ||
<View | ||
style={ | ||
Object { | ||
"flex": 0, | ||
"paddingRight": 18, | ||
"width": 106, | ||
} | ||
} | ||
> | ||
<Text | ||
style={ | ||
Object { | ||
"color": "#848c96", | ||
"fontFamily": "CircularStd-Medium", | ||
"fontSize": 16, | ||
"fontWeight": "600", | ||
} | ||
} | ||
> | ||
Hex Data | ||
: | ||
</Text> | ||
</View> | ||
<TextInput | ||
multiline={true} | ||
onChangeText={[Function]} | ||
placeholder="Optional" | ||
placeholderTextColor="#d6d9dc" | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"borderColor": "#d6d9dc", | ||
"borderRadius": 4, | ||
"borderWidth": 1, | ||
"flex": 1, | ||
"fontFamily": "CircularStd-Medium", | ||
"fontSize": 16, | ||
"fontWeight": "600", | ||
"minHeight": 64, | ||
"paddingLeft": 10, | ||
"paddingVertical": 6, | ||
} | ||
} | ||
/> | ||
</View> | ||
</View> | ||
</ActionView> | ||
</View> | ||
<Connect(CustomGas) | ||
gas="" | ||
gasError="" | ||
gasPrice="" | ||
handleGasFeeSelection={[Function]} | ||
review={[Function]} | ||
totalGas={"14a"} | ||
/> | ||
`; |
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.