From 4d54ad1906e7e78d89cddec39d5dedf4f936e56d Mon Sep 17 00:00:00 2001 From: Patryk Zatorski Date: Mon, 18 Nov 2019 09:45:18 +0100 Subject: [PATCH] fix: set default numberOfLines prop to 1 in HeaderTitle --- .../__tests__/__snapshots__/NestedNavigator.test.tsx.snap | 2 ++ .../__tests__/__snapshots__/StackNavigator.test.tsx.snap | 2 ++ src/views/Header/HeaderTitle.tsx | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/navigators/__tests__/__snapshots__/NestedNavigator.test.tsx.snap b/src/navigators/__tests__/__snapshots__/NestedNavigator.test.tsx.snap index 1a80e8cf6..ab1319e59 100644 --- a/src/navigators/__tests__/__snapshots__/NestedNavigator.test.tsx.snap +++ b/src/navigators/__tests__/__snapshots__/NestedNavigator.test.tsx.snap @@ -453,6 +453,7 @@ Array [ } > ; + return ( + + ); } const styles = StyleSheet.create({