There was an error while loading. Please reload this page.
1 parent df3cdfd commit dfaecf0Copy full SHA for dfaecf0
1 file changed
example/src/Examples/BannerExample.tsx
@@ -36,7 +36,7 @@ const BannerExample = () => {
36
};
37
38
return (
39
- <>
+ <View style={styles.container}>
40
<ScreenWrapper>
41
<View style={[styles.grid, { paddingTop: height }]}>
42
{PHOTOS.map((uri) => (
@@ -78,13 +78,16 @@ const BannerExample = () => {
78
Two line text string with two actions. One to two lines is preferable on
79
mobile.
80
</Banner>
81
- </>
+ </View>
82
);
83
84
85
BannerExample.title = 'Banner';
86
87
const styles = StyleSheet.create({
88
+ container: {
89
+ flex: 1,
90
+ },
91
...Platform.select({
92
web: {
93
grid: {
0 commit comments