added overflow support when there's a lot of options

This commit is contained in:
Clément Le Bihan
2023-03-31 00:31:07 +02:00
parent 7722eba86f
commit e4d998b0ff
2 changed files with 16 additions and 1 deletions
@@ -1,6 +1,6 @@
import * as React from "react";
import { StyleProp, ViewStyle, StyleSheet } from "react-native";
import { View, Text, Pressable, Box, Row, Icon, Button } from "native-base";
import { View, Text, Pressable, Box, Row, Icon, Button, ScrollView } from "native-base";
import {
createNavigatorFactory,
DefaultNavigatorOptions,
@@ -79,6 +79,7 @@ function TabNavigator({
justifyContent: "flex-start",
borderRightWidth: 1,
borderRightColor: "lightgray",
overflow: "scroll",
},
tabBarStyle,
]}