diff --git a/packages/rn-tester/js/examples/Text/TextExample.ios.js b/packages/rn-tester/js/examples/Text/TextExample.ios.js index f139c9a3d75..1515727f37e 100644 --- a/packages/rn-tester/js/examples/Text/TextExample.ios.js +++ b/packages/rn-tester/js/examples/Text/TextExample.ios.js @@ -28,21 +28,6 @@ const { TextInput, View, } = require('react-native'); -const TextAncestor = - require('react-native/Libraries/Text/TextAncestor').default; - -// TODO: Is there a cleaner way to flip the TextAncestor value to false? I -// suspect apps won't even be able to leverage this workaround because -// TextAncestor is not public. -/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's - * LTI update could not be added via codemod */ -function InlineView(props) { - return ( - - - - ); -} type TextAlignExampleRTLState = { isRTL: boolean, @@ -1352,20 +1337,20 @@ const examples = [ return ( This text has a view - + which has another text inside. And moreover, it has another view - + with another text inside! - + - + Because we need to go deeper. );