const Component1 = ({ props }) => ( <Text>Test</Text> ); const Component2 = ({ props }) => ( <Text>Test</Text> );