Thursday, December 14, 2023
HomeiOS Developmentios - "How can I add a dropdown picker to the button...

ios – “How can I add a dropdown picker to the button on the Navbar in React Native?”


I am unable to put a dropdown menu on the button on the highest bar.

I’ve tried every thing, however I could not get any outcomes.

“I need to outline a dropdown menu for the profile default.

“I’ll solely add language help and the sign off button to the dropdown menu.”

const Tabs = () => {
  const navigation = useNavigation();
  const authCtx = useContext(AuthContext);


  const Tab = createBottomTabNavigator();


  return (
    <Tab.Navigator
      headerStyle={{ backgroundColor: Colours.dark100 }}
      screenOptions={{
        tabBarShowLabel: false,
        tabBarStyle: { ...kinds.container },
        headerRight: () => (
          <View


          
            fashion={{ show: "flex", flexDirection: "row", marginRight: 0 }}
          >
          
            <TouchableOpacity onPress={() => DropDownPicker}>
              

              <View
                fashion={{
                  marginRight: 16,
                  paddingRight: 16,
                  flexDirection: 'row',
                  alignItems: 'heart',
                }}
              >
                <Picture
                  supply={require("../../belongings/profile-default.jpg")}
                  fashion={{ width: 32, top: 32, borderRadius: 32 }}
                />
              </View>
            </TouchableOpacity>
          </View>
        ),
      }}
      fashion={kinds.shadow}
    >



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments