mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 01:28:16 +00:00
Set numberOfLines to 1 for HeaderTitle (#260)
This commit is contained in:
parent
163d5e4c07
commit
ac8260874a
@ -13,7 +13,7 @@ type Props = {
|
||||
};
|
||||
|
||||
const HeaderTitle = ({ style, ...rest }: Props) => (
|
||||
<Text {...rest} style={[styles.title, style]} />
|
||||
<Text numberOfLines={1} {...rest} style={[styles.title, style]} />
|
||||
);
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
|
Loading…
x
Reference in New Issue
Block a user