Coding task · React Native course · Module 2: Lists and styles

Platform-Specific Code

Write a component that displays different styles depending on the platform.

Task

Complete the code using Platform.select.