Skip to content

Commit 0bfdf57

Browse files
committed
test(ios): expose visible-depth fixture hierarchy
1 parent 317d708 commit 0bfdf57

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎examples/test-app/src/screens/VisibleDepthScreen.tsx‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Pressable, StyleSheet, Text, View } from 'react-native';
22

3-
import { AppFrame } from '../components';
43
import { useAppColors, type AppColors } from '../theme';
54

65
/**
@@ -13,7 +12,7 @@ export function VisibleDepthScreen() {
1312
const styles = createStyles(colors);
1413

1514
return (
16-
<AppFrame>
15+
<View accessible={false} style={styles.frame}>
1716
<Text style={[styles.title, styles.titleSpacing]} testID="visible-depth-title">
1817
Regular visible depth frontier
1918
</Text>
@@ -35,7 +34,7 @@ export function VisibleDepthScreen() {
3534
<Text style={styles.projectedChildLabel}>Projected child</Text>
3635
</Pressable>
3736
</View>
38-
</AppFrame>
37+
</View>
3938
);
4039
}
4140

@@ -46,6 +45,11 @@ function createStyles(colors: AppColors) {
4645
fontSize: 16,
4746
lineHeight: 23,
4847
},
48+
frame: {
49+
flex: 1,
50+
paddingHorizontal: 18,
51+
paddingTop: 24,
52+
},
4953
clippedParent: {
5054
height: 64,
5155
left: -96,

0 commit comments

Comments
 (0)