Skip to content

Commit dfaecf0

Browse files
authored
chore: render banner below the app bar on native in example (#5061)
1 parent df3cdfd commit dfaecf0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎example/src/Examples/BannerExample.tsx‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const BannerExample = () => {
3636
};
3737

3838
return (
39-
<>
39+
<View style={styles.container}>
4040
<ScreenWrapper>
4141
<View style={[styles.grid, { paddingTop: height }]}>
4242
{PHOTOS.map((uri) => (
@@ -78,13 +78,16 @@ const BannerExample = () => {
7878
Two line text string with two actions. One to two lines is preferable on
7979
mobile.
8080
</Banner>
81-
</>
81+
</View>
8282
);
8383
};
8484

8585
BannerExample.title = 'Banner';
8686

8787
const styles = StyleSheet.create({
88+
container: {
89+
flex: 1,
90+
},
8891
...Platform.select({
8992
web: {
9093
grid: {

0 commit comments

Comments
 (0)