how to check platform web in react native code example
Example: react native get OS
const design = Platform.select({
android: {
header: true
},
ios: {
header: false
},
});
const design = Platform.select({
android: {
header: true
},
ios: {
header: false
},
});