Skip to content

Commit

Permalink
snapshot update
Browse files Browse the repository at this point in the history
  • Loading branch information
EtDu committed Jun 2, 2020
1 parent 2ce0c2a commit 7b77976
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 42 deletions.
14 changes: 10 additions & 4 deletions app/components/UI/ActionModal/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ exports[`ActionModal should render correctly 1`] = `
scrollOffsetMax={0}
scrollTo={null}
style={
Object {
"margin": 0,
"width": "100%",
}
Array [
Object {
"margin": 0,
"width": "100%",
},
undefined,
]
}
supportedOrientations={
Array [
Expand All @@ -49,12 +52,15 @@ exports[`ActionModal should render correctly 1`] = `
cancelButtonMode="neutral"
cancelTestID=""
cancelText="Cancel"
childrenContainerStyle={null}
confirmButtonMode="warning"
confirmDisabled={false}
confirmTestID=""
confirmText="Confirm"
displayCancelButton={true}
displayConfirmButton={true}
viewContainerStyle={null}
viewWrapperStyle={null}
/>
</ReactNativeModal>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ exports[`TransactionReviewFeeCard should render correctly 1`] = `
Network fee
</Text>
<TouchableOpacity
activeOpacity={0.2}
disabled={true}
>
<Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,55 +215,64 @@ exports[`Confirm should render correctly 1`] = `
ticker="ETH"
/>
</ReactNativeModal>
<ReactNativeModal
animationIn="slideInUp"
animationInTiming={600}
animationOut="slideOutDown"
animationOutTiming={600}
avoidKeyboard={false}
backdropColor="black"
backdropOpacity={0.7}
backdropTransitionInTiming={300}
backdropTransitionOutTiming={300}
deviceHeight={null}
deviceWidth={null}
hasBackdrop={true}
hideModalContentWhileAnimating={false}
isVisible={false}
onBackButtonPress={[Function]}
onBackdropPress={[Function]}
onModalHide={[Function]}
onModalShow={[Function]}
onModalWillHide={[Function]}
onModalWillShow={[Function]}
onSwipeComplete={[Function]}
propagateSwipe={true}
scrollOffset={0}
scrollOffsetMax={0}
scrollTo={null}
style={
<ActionModal
actionContainerStyle={
Object {
"borderTopWidth": 0,
}
}
cancelButtonMode="neutral"
cancelTestID=""
cancelText="Cancel"
childrenContainerStyle={
Object {
"backgroundColor": "#FFFFFF",
"borderTopLeftRadius": 20,
"borderTopRightRadius": 20,
"paddingHorizontal": 24,
"paddingTop": 24,
"width": "100%",
}
}
confirmButtonMode="confirm"
confirmDisabled={true}
confirmTestID=""
confirmText="Save"
displayCancelButton={false}
displayConfirmButton={true}
modalStyle={
Object {
"alignItems": "center",
"justifyContent": "flex-end",
"margin": 0,
"width": "100%",
}
}
supportedOrientations={
Array [
"portrait",
"landscape",
]
modalVisible={false}
onConfirmPress={[Function]}
onRequestClose={[Function]}
viewContainerStyle={
Object {
"borderRadius": 20,
}
}
viewWrapperStyle={
Object {
"backgroundColor": "#FFFFFF",
"borderTopLeftRadius": 20,
"borderTopRightRadius": 20,
"marginHorizontal": 0,
"paddingBottom": 24,
}
}
swipeDirection="down"
swipeThreshold={100}
useNativeDriver={false}
>
<Connect(CustomGas)
handleGasFeeSelection={[Function]}
handleSetGasFee={[Function]}
parentStateReady={[Function]}
selected="average"
toggleCustomGasModal={[Function]}
/>
</ReactNativeModal>
</ActionModal>
<ReactNativeModal
animationIn="slideInUp"
animationInTiming={300}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ exports[`CustomGas should render correctly 1`] = `
"alignItems": "center",
"backgroundColor": "#FFFFFF",
"justifyContent": "center",
"minHeight": 200,
"width": "100%",
}
}
>
Expand All @@ -20,6 +22,8 @@ exports[`CustomGas should render correctly 1`] = `
"alignItems": "center",
"backgroundColor": "#FFFFFF",
"justifyContent": "center",
"minHeight": 200,
"width": "100%",
}
}
/>
Expand Down

0 comments on commit 7b77976

Please sign in to comment.