Skip to content

Commit de19c21

Browse files
delgadofaridvonovak
authored andcommitted
Update README.md (#37)
Conflict between unused imported "Item" and const "Item" defined in MyHeaderButtons.js. Just deleted the import to avoid Duplicate Declaration error when building project.
1 parent fc5b31f commit de19c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ This sections covers how you should use the library in your project. Please note
8484

8585
import * as React from 'react';
8686
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
87-
import HeaderButtons, { HeaderButton, Item } from 'react-navigation-header-buttons';
87+
import { HeaderButtons, HeaderButton } from 'react-navigation-header-buttons';
8888

8989
// define IconComponent, color, sizes and OverflowIcon in one place
9090
const MaterialHeaderButton = props => (

0 commit comments

Comments
 (0)