Skip to content

Instantly share code, notes, and snippets.

View aandrewww's full-sized avatar
:octocat:
Discovering

Andrew Avdeev aandrewww

:octocat:
Discovering
View GitHub Profile
const platformSpecific = ({ios, android}) => (Platform.OS == 'ios') ? ios : android;
<View style={{ color: platformSpecific({ ios: 'black', android: 'white' }) }}/>