Set numberOfLines to 1 for HeaderTitle (#260)

This commit is contained in:
juhasuni 2017-02-09 16:41:18 +02:00 committed by Satyajit Sahoo
parent 163d5e4c07
commit ac8260874a

View File

@ -13,7 +13,7 @@ type Props = {
}; };
const HeaderTitle = ({ style, ...rest }: Props) => ( const HeaderTitle = ({ style, ...rest }: Props) => (
<Text {...rest} style={[styles.title, style]} /> <Text numberOfLines={1} {...rest} style={[styles.title, style]} />
); );
const styles = StyleSheet.create({ const styles = StyleSheet.create({