mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-12 09:08:12 +08:00
chore: fix snapshots
This commit is contained in:
@@ -231,40 +231,73 @@ exports[`renders data table pagination 1`] = `
|
||||
<View
|
||||
style={null}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
<View
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
"alignItems": "center",
|
||||
"justifyContent": "center",
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"height": 24,
|
||||
"width": 24,
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
"opacity": 1,
|
||||
"position": "absolute",
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"transform": Array [
|
||||
Object {
|
||||
"rotate": "0deg",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
<View
|
||||
@@ -303,40 +336,73 @@ exports[`renders data table pagination 1`] = `
|
||||
<View
|
||||
style={null}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
<View
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
"alignItems": "center",
|
||||
"justifyContent": "center",
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"height": 24,
|
||||
"width": 24,
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
"opacity": 1,
|
||||
"position": "absolute",
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"transform": Array [
|
||||
Object {
|
||||
"rotate": "0deg",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
@@ -416,40 +482,73 @@ exports[`renders data table pagination with label 1`] = `
|
||||
<View
|
||||
style={null}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
<View
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
"alignItems": "center",
|
||||
"justifyContent": "center",
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"height": 24,
|
||||
"width": 24,
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
"opacity": 1,
|
||||
"position": "absolute",
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"transform": Array [
|
||||
Object {
|
||||
"rotate": "0deg",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
<View
|
||||
@@ -488,40 +587,73 @@ exports[`renders data table pagination with label 1`] = `
|
||||
<View
|
||||
style={null}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
<View
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
"alignItems": "center",
|
||||
"justifyContent": "center",
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"height": 24,
|
||||
"width": 24,
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
"opacity": 1,
|
||||
"position": "absolute",
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"transform": Array [
|
||||
Object {
|
||||
"rotate": "0deg",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
@@ -56,40 +56,73 @@ exports[`renders disabled toggle button 1`] = `
|
||||
<View
|
||||
style={null}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
<View
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
"alignItems": "center",
|
||||
"justifyContent": "center",
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"height": 24,
|
||||
"width": 24,
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
"opacity": 1,
|
||||
"position": "absolute",
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"transform": Array [
|
||||
Object {
|
||||
"rotate": "0deg",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
`;
|
||||
@@ -143,40 +176,73 @@ exports[`renders toggle button 1`] = `
|
||||
<View
|
||||
style={null}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
<View
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
"alignItems": "center",
|
||||
"justifyContent": "center",
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"height": 24,
|
||||
"width": 24,
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
"opacity": 1,
|
||||
"position": "absolute",
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"transform": Array [
|
||||
Object {
|
||||
"rotate": "0deg",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
`;
|
||||
@@ -237,40 +303,73 @@ exports[`renders unchecked toggle button 1`] = `
|
||||
<View
|
||||
style={null}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
<View
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
"alignItems": "center",
|
||||
"justifyContent": "center",
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"height": 24,
|
||||
"width": 24,
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
"opacity": 1,
|
||||
"position": "absolute",
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"transform": Array [
|
||||
Object {
|
||||
"rotate": "0deg",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
>
|
||||
<Text
|
||||
accessibilityElementsHidden={true}
|
||||
allowFontScaling={false}
|
||||
importantForAccessibility="no-hide-descendants"
|
||||
pointerEvents="none"
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#000000",
|
||||
"fontSize": 24,
|
||||
},
|
||||
Array [
|
||||
Object {
|
||||
"transform": Array [
|
||||
Object {
|
||||
"scaleX": 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
Object {
|
||||
"backgroundColor": "transparent",
|
||||
},
|
||||
],
|
||||
Object {
|
||||
"fontFamily": "Material Icons",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user