diff --git a/index.js b/index.js index faaa527..199d863 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,8 @@ import { StatusBar, Text, View, - Platform + Platform, + Animated } from 'react-native'; import NavbarButton from './NavbarButton'; @@ -107,11 +108,11 @@ class NavigationBar extends Component { return ( {statusBar} - + {this.getTitleElement(this.props.title)} {this.getButtonElement(this.props.leftButton, { marginLeft: 8, })} {this.getButtonElement(this.props.rightButton, { marginRight: 8, })} - + ); }