Skip to content

Commit 4b2387b

Browse files
committed
update: readme usage
1 parent 694315c commit 4b2387b

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

CleanTabBar.tsx

Lines changed: 0 additions & 2 deletions
This file was deleted.

ColorfulTabBar.tsx

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ yarn add react-navigation-tabbar-collection
3838
> This TabBar is inspired by [Aurélien Salomon](https://dribbble.com/aureliensalomon) works on [Dribbble](https://dribbble.com/shots/5925052-Google-Bottom-Bar-Navigation-Pattern-Mobile-UX-Design).
3939
4040
```js
41-
import TabBar from 'react-navigation-tabbar-collection/ColorfulTabBar';
41+
import { ColorfulTabBar } from 'react-navigation-tabbar-collection';
4242
```
4343

4444
### Clean
4545

4646
> This TabBar is inspired by [Cuberto](https://dribbble.com/cuberto) works on [Dribbble](https://dribbble.com/shots/5605168-Toolbar-icons-animation).
4747
4848
```js
49-
import TabBar from 'react-navigation-tabbar-collection/CleanTabBar';
49+
import { CleanTabBar } from 'react-navigation-tabbar-collection';
5050
```
5151

5252
## Props

example/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { NavigationContainer } from '@react-navigation/native';
33
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
44
import { StyleSheet, Text, View } from 'react-native';
55
import Icon from 'react-native-vector-icons/AntDesign'
6-
import {CleanTabBar} from 'react-navigation-tabbar-collection';
6+
import { CleanTabBar } from 'react-navigation-tabbar-collection';
77

88
const Tab = createBottomTabNavigator();
99

0 commit comments

Comments
 (0)