Answers for "react native header component on change"

6

disable inputetext in react native

<TextInput editable={false} selectTextOnFocus={false} />
Posted by: Guest on May-08-2020
2

react native header style

function StackScreen() {
  return (
    <Stack.Navigator>
      <Stack.Screen
        name="Home"
        component={HomeScreen}
        options={{
          title: 'My home',
          headerStyle: {
            backgroundColor: '#f4511e',
          },
          headerTintColor: '#fff',
          headerTitleStyle: {
            fontWeight: 'bold',
          },
        }}
      />
    </Stack.Navigator>
  );
}
Posted by: Guest on April-27-2020

Code answers related to "react native header component on change"

Code answers related to "Javascript"

Browse Popular Code Answers by Language