|
1 | | -import React, {PropTypes} from "react"; |
| 1 | +import React, {PropTypes} from 'react'; |
2 | 2 | import {
|
| 3 | + Animated, |
| 4 | + Easing, |
| 5 | + Platform, |
3 | 6 | StyleSheet,
|
4 | 7 | Text,
|
5 | 8 | View,
|
6 | | - Animated, |
7 | | - Easing, |
8 | | - Platform |
9 | 9 | } from 'react-native';
|
10 | 10 | import NavButton from './NavButton';
|
11 | 11 | import * as Styles from '../styles';
|
@@ -245,11 +245,12 @@ class NavBarContent extends React.Component {
|
245 | 245 | );
|
246 | 246 | } else {
|
247 | 247 | titleContent = (
|
248 | | - <Text style={[ |
249 | | - styles.navbarText, |
250 | | - this.props.titleStyle, |
251 | | - this.props.route.titleStyle, |
252 | | - ]} |
| 248 | + <Text |
| 249 | + style={[ |
| 250 | + styles.navbarText, |
| 251 | + this.props.titleStyle, |
| 252 | + this.props.route.titleStyle, |
| 253 | + ]} |
253 | 254 | numberOfLines={1}
|
254 | 255 | >
|
255 | 256 | {this.props.route.name}
|
|
0 commit comments