Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions example/src/Examples/BannerExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const BannerExample = () => {
};

return (
<>
<View style={styles.container}>
<ScreenWrapper>
<View style={[styles.grid, { paddingTop: height }]}>
{PHOTOS.map((uri) => (
Expand Down Expand Up @@ -78,13 +78,16 @@ const BannerExample = () => {
Two line text string with two actions. One to two lines is preferable on
mobile.
</Banner>
</>
</View>
);
};

BannerExample.title = 'Banner';

const styles = StyleSheet.create({
container: {
flex: 1,
},
...Platform.select({
web: {
grid: {
Expand Down