boxons/components/shared/__tests__/__snapshots__/Button-test.js.snap

203 lines
3.9 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`[Component] Button Disabled state renders correctly 1`] = `
<View
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": true,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onClick={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"alignItems": "center",
"backgroundColor": "#FFFFFF",
"borderColor": "#FFFFFF",
"borderRadius": 6,
"borderWidth": 0,
"flexDirection": "row",
"height": 48,
"justifyContent": "center",
"opacity": 1,
"paddingHorizontal": 16,
}
}
>
<Text
color="black"
style={
[
{
"color": "#000000",
},
[
{
"color": "#000000",
"fontSize": 16,
"fontWeight": "semibold",
},
undefined,
],
]
}
>
Press me
</Text>
</View>
`;
exports[`[Component] Button Loading state renders correctly 1`] = `
<View
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": true,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onClick={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"alignItems": "center",
"backgroundColor": "#FFFFFF",
"borderColor": "#FFFFFF",
"borderRadius": 6,
"borderWidth": 0,
"flexDirection": "row",
"height": 48,
"justifyContent": "center",
"opacity": 1,
"paddingHorizontal": 16,
}
}
>
<Text
color="black"
style={
[
{
"color": "#000000",
},
[
{
"color": "#000000",
"fontSize": 16,
"fontWeight": "semibold",
},
undefined,
],
]
}
>
Press me
</Text>
</View>
`;
exports[`[Component] Button Ready state renders correctly 1`] = `
<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}
onClick={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"alignItems": "center",
"backgroundColor": "#FFFFFF",
"borderColor": "#FFFFFF",
"borderRadius": 6,
"borderWidth": 0,
"flexDirection": "row",
"height": 48,
"justifyContent": "center",
"opacity": 1,
"paddingHorizontal": 16,
}
}
>
<Text
color="black"
style={
[
{
"color": "#000000",
},
[
{
"color": "#000000",
"fontSize": 16,
"fontWeight": "semibold",
},
undefined,
],
]
}
>
Press me
</Text>
</View>
`;