File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,10 @@ yarn add @mindinventory/react-native-tab-bar-interaction
3535
3636``` js
3737
38- import Tabbar from " @mindinventory/react-native-tab-bar-interaction" ;
38+ import {
39+ TabBar ,
40+ TabsType ,
41+ } from " @mindinventory/react-native-tab-bar-interaction" ;
3942...
4043
4144const tabs = [
@@ -69,7 +72,7 @@ const tabs = [
6972...
7073
7174return (
72- < Tabbar
75+ < TabBar
7376 tabs= {tabs}
7477 containerWidth= {350 }
7578 onTabChange= {(tab : TabsType , index : number ) => console .log (' Tab changed' )}
Original file line number Diff line number Diff line change 11{
22 "name" : " @mindinventory/react-native-tab-bar-interaction" ,
3- "version" : " 3.0.0 " ,
3+ "version" : " 3.0.1 " ,
44 "description" : " A tabbar component for React Native" ,
55 "source" : " ./src/index.tsx" ,
66 "main" : " ./lib/commonjs/index.js" ,
You can’t perform that action at this time.
0 commit comments