Skip to content

Instantly share code, notes, and snippets.

@uguraktas
Last active March 7, 2022 05:24
Show Gist options
  • Save uguraktas/80a571af64b6e7cdc5a0a859a0c06a1b to your computer and use it in GitHub Desktop.
Save uguraktas/80a571af64b6e7cdc5a0a859a0c06a1b to your computer and use it in GitHub Desktop.
$sizeSmall: 12,
column: {
flexDirection: 'row',
//Add full with
width: '100%',
//Important, After that screenover 12px, because add margin
margin:'$sizeSmall',
//fixed
width: '100% - $sizeSmall',
//Priority calculation
width: '100% -' + EStyleSheet.value('$sizeSmall' * 2),
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment