docs: define renderScene outside the component in example
docs: define renderScene outside the component in example

react-native-community/react-native-tab-view,react-native-community/react-native-tab-view