Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
201 changes: 165 additions & 36 deletions app/components/UI/SeedphraseModal/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,50 +7,175 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
<View
style={
{
"alignItems": "center",
"flexDirection": "column",
"justifyContent": "center",
"padding": 16,
"rowGap": 16,
}
}
>
<View
style={
{
"alignItems": "center",
"flexDirection": "row",
"justifyContent": "center",
}
[
{
"alignItems": "center",
"flexDirection": "row",
"gap": 16,
"height": 56,
"paddingLeft": 8,
"paddingRight": 8,
},
false,
undefined,
]
}
testID="header"
>
<Text
accessibilityRole="text"
<View>
<View
onLayout={[Function]}
/>
</View>
<View
style={
{
"color": "#121314",
"fontFamily": "Geist-Bold",
"fontSize": 18,
"letterSpacing": 0,
"lineHeight": 24,
}
[
{
"alignItems": "center",
"display": "flex",
"flexBasis": "0%",
"flexGrow": 1,
"flexShrink": 1,
},
undefined,
]
}
>
What’s a Secret Recovery Phrase?
</Text>
<View
style={
[
{
"alignItems": "center",
"display": "flex",
},
undefined,
]
}
>
<Text
accessibilityRole="text"
style={
[
{
"color": "#121314",
"fontFamily": "Geist-Bold",
"fontSize": 16,
"fontWeight": 400,
"letterSpacing": 0,
"lineHeight": 24,
},
undefined,
]
}
>
What’s a Secret Recovery Phrase?
</Text>
</View>
</View>
<View>
<View
onLayout={[Function]}
>
<View
style={
[
{
"transform": [
{
"scale": 1,
},
],
},
{
"alignItems": "center",
"justifyContent": "center",
},
]
}
>
<View
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": false,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
[
{
"alignItems": "center",
"backgroundColor": "transparent",
"borderRadius": 2,
"height": 32,
"justifyContent": "center",
"opacity": 1,
"width": 32,
},
undefined,
]
}
testID="button-icon"
>
<SvgMock
fill="currentColor"
name="Close"
style={
[
{
"color": "#121314",
"height": 20,
"width": 20,
},
undefined,
]
}
/>
</View>
</View>
</View>
</View>
</View>
<View
style={
{
"flexDirection": "column",
"paddingHorizontal": 16,
}
}
>
<Text
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#686e7d",
"fontFamily": "Geist-Regular",
"fontSize": 16,
"letterSpacing": 0,
Expand All @@ -71,7 +196,7 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#686e7d",
"fontFamily": "Geist-Regular",
"fontSize": 16,
"letterSpacing": 0,
Expand All @@ -84,7 +209,7 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
<View
style={
{
"marginLeft": 10,
"marginLeft": 12,
}
}
>
Expand All @@ -103,10 +228,10 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
{
"color": "#121314",
"fontFamily": "Geist-Regular",
"fontSize": 20,
"fontSize": 16,
"letterSpacing": 0,
"lineHeight": 24,
"marginRight": 10,
"marginRight": 12,
}
}
>
Expand All @@ -116,7 +241,7 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#686e7d",
"fontFamily": "Geist-Regular",
"fontSize": 16,
"letterSpacing": 0,
Expand All @@ -142,10 +267,10 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
{
"color": "#121314",
"fontFamily": "Geist-Regular",
"fontSize": 20,
"fontSize": 16,
"letterSpacing": 0,
"lineHeight": 24,
"marginRight": 10,
"marginRight": 12,
}
}
>
Expand All @@ -155,7 +280,7 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#686e7d",
"fontFamily": "Geist-Regular",
"fontSize": 16,
"letterSpacing": 0,
Expand All @@ -181,10 +306,10 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
{
"color": "#121314",
"fontFamily": "Geist-Regular",
"fontSize": 20,
"fontSize": 16,
"letterSpacing": 0,
"lineHeight": 24,
"marginRight": 10,
"marginRight": 12,
}
}
>
Expand All @@ -194,7 +319,7 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#686e7d",
"fontFamily": "Geist-Regular",
"fontSize": 16,
"letterSpacing": 0,
Expand All @@ -211,7 +336,9 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
<View
style={
{
"marginTop": 16,
"paddingBottom": 16,
"paddingHorizontal": 16,
"paddingTop": 24,
"width": "100%",
}
}
Expand All @@ -227,8 +354,10 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
{
"alignItems": "center",
"alignSelf": "stretch",
"backgroundColor": "#121314",
"backgroundColor": "#3c4d9d0f",
"borderColor": "transparent",
"borderRadius": 12,
"borderWidth": 1,
"flexDirection": "row",
"height": 48,
"justifyContent": "center",
Expand All @@ -241,7 +370,7 @@ exports[`SeedphraseModal renders matches snapshot 1`] = `
accessibilityRole="text"
style={
{
"color": "#ffffff",
"color": "#121314",
"fontFamily": "Geist-Medium",
"fontSize": 16,
"letterSpacing": 0,
Expand Down
Loading
Loading