mirror of
https://github.com/theoludwig/p61-project.git
synced 2024-07-17 07:00:12 +02:00
171 lines
4.1 KiB
Plaintext
171 lines
4.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<HomePage /> renders correctly 1`] = `
|
|
<RNCSafeAreaView
|
|
edges={
|
|
{
|
|
"bottom": "additive",
|
|
"left": "additive",
|
|
"right": "additive",
|
|
"top": "additive",
|
|
}
|
|
}
|
|
style={
|
|
{
|
|
"alignItems": "center",
|
|
"flex": 1,
|
|
"justifyContent": "center",
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
collapsable={false}
|
|
style={
|
|
{
|
|
"backgroundColor": "rgba(103, 80, 164, 1)",
|
|
"borderRadius": 20,
|
|
"shadowColor": "#000",
|
|
"shadowOffset": {
|
|
"height": 0,
|
|
"width": 0,
|
|
},
|
|
"shadowOpacity": 0,
|
|
"shadowRadius": 0,
|
|
}
|
|
}
|
|
testID="button-container-outer-layer"
|
|
>
|
|
<View
|
|
collapsable={false}
|
|
style={
|
|
{
|
|
"backgroundColor": "rgba(103, 80, 164, 1)",
|
|
"borderColor": "transparent",
|
|
"borderRadius": 20,
|
|
"borderStyle": "solid",
|
|
"borderWidth": 0,
|
|
"flex": undefined,
|
|
"minWidth": 64,
|
|
"shadowColor": "#000",
|
|
"shadowOffset": {
|
|
"height": 0,
|
|
"width": 0,
|
|
},
|
|
"shadowOpacity": 0,
|
|
"shadowRadius": 0,
|
|
}
|
|
}
|
|
testID="button-container"
|
|
>
|
|
<View
|
|
accessibilityRole="button"
|
|
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={
|
|
[
|
|
{
|
|
"overflow": "hidden",
|
|
},
|
|
{
|
|
"borderRadius": 20,
|
|
},
|
|
]
|
|
}
|
|
testID="button"
|
|
>
|
|
<View
|
|
style={
|
|
[
|
|
{
|
|
"alignItems": "center",
|
|
"flexDirection": "row",
|
|
"justifyContent": "center",
|
|
},
|
|
undefined,
|
|
]
|
|
}
|
|
>
|
|
<Text
|
|
numberOfLines={1}
|
|
selectable={false}
|
|
style={
|
|
[
|
|
{
|
|
"textAlign": "left",
|
|
},
|
|
{
|
|
"color": "rgba(28, 27, 31, 1)",
|
|
"writingDirection": "ltr",
|
|
},
|
|
[
|
|
{
|
|
"fontFamily": "System",
|
|
"fontSize": 14,
|
|
"fontWeight": "500",
|
|
"letterSpacing": 0.1,
|
|
"lineHeight": 20,
|
|
},
|
|
[
|
|
{
|
|
"marginHorizontal": 16,
|
|
"marginVertical": 9,
|
|
"textAlign": "center",
|
|
},
|
|
false,
|
|
{
|
|
"marginHorizontal": 24,
|
|
"marginVertical": 10,
|
|
},
|
|
undefined,
|
|
false,
|
|
{
|
|
"color": "rgba(255, 255, 255, 1)",
|
|
"fontFamily": "System",
|
|
"fontSize": 14,
|
|
"fontWeight": "500",
|
|
"letterSpacing": 0.1,
|
|
"lineHeight": 20,
|
|
},
|
|
undefined,
|
|
],
|
|
],
|
|
]
|
|
}
|
|
testID="button-text"
|
|
>
|
|
Press me
|
|
</Text>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
</RNCSafeAreaView>
|
|
`;
|