Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ yarn add @mindinventory/react-native-tab-bar-interaction

```js

import Tabbar from "@mindinventory/react-native-tab-bar-interaction";
import {
TabBar,
TabsType,
} from "@mindinventory/react-native-tab-bar-interaction";
...

const tabs = [
Expand Down Expand Up @@ -69,7 +72,7 @@ const tabs = [
...

return (
<Tabbar
<TabBar
tabs={tabs}
containerWidth={350}
onTabChange={(tab: TabsType, index: number) => console.log('Tab changed')}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mindinventory/react-native-tab-bar-interaction",
"version": "3.0.0",
"version": "3.0.1",
"description": "A tabbar component for React Native",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
Expand Down
Loading