react-native-simple-collapsible-tabs
v0.3.3
Published
test
Downloads
5
Readme
react-native-simple-collapsible-tabs
react-native-simple-collapsible-tabs
Installation
npm install react-native-simple-collapsible-tabs
Usage
import { createMaterialTopTabNavigator } from '@react-navigation/material-top-tabs';
import { CollapsibleTab } from "react-native-simple-collapsible-tabs";
import { Header, TabBar } from "./components";
const Tab = createMaterialTopTabNavigator();
<CollapsibleTab.Container>
<Header />
<Tab.Navigator
tabBar={(props) => <TabBar {...props} />}
initialRouteName="Example1"
>
<Tab.Screen name="Example1" component={List} />
<Tab.Screen name="Example2" component={List} />
<Tab.Screen name="Example3" component={List} />
</Tab.Navigator>
</CollapsibleTab.Container>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library