Skip to content

Instantly share code, notes, and snippets.

@samueljmurray
Created August 30, 2017 15:42
Show Gist options
  • Save samueljmurray/f6e4d92c8a4854ca7abf484ada4e92d8 to your computer and use it in GitHub Desktop.
Save samueljmurray/f6e4d92c8a4854ca7abf484ada4e92d8 to your computer and use it in GitHub Desktop.
Screen size ternary inception
{
marginHorizontal: extraSmallScreen ? 8 : (smallScreen ? 12 : 16);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment