📅  最后修改于: 2022-03-11 15:02:00.446000             🧑  作者: Mango
// You should import Platform module
// Or use .android.js and .ios.js file extensions
// Example
import { View, Text, Platform } from 'react-native';
function App() {
return (
I'm a(n) {Platform.OS} device
);
}
export default App;