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
35
35
36
36
``` js
37
37
38
- import Tabbar from " @mindinventory/react-native-tab-bar-interaction" ;
38
+ import {
39
+ TabBar ,
40
+ TabsType ,
41
+ } from " @mindinventory/react-native-tab-bar-interaction" ;
39
42
...
40
43
41
44
const tabs = [
@@ -69,7 +72,7 @@ const tabs = [
69
72
...
70
73
71
74
return (
72
- < Tabbar
75
+ < TabBar
73
76
tabs= {tabs}
74
77
containerWidth= {350 }
75
78
onTabChange= {(tab : TabsType , index : number ) => console .log (' Tab changed' )}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @mindinventory/react-native-tab-bar-interaction" ,
3
- "version" : " 3.0.0 " ,
3
+ "version" : " 3.0.1 " ,
4
4
"description" : " A tabbar component for React Native" ,
5
5
"source" : " ./src/index.tsx" ,
6
6
"main" : " ./lib/commonjs/index.js" ,
You can’t perform that action at this time.
0 commit comments