Skip to content

Instantly share code, notes, and snippets.

@imcodingideas
Created November 7, 2017 05:22
Show Gist options
  • Save imcodingideas/1d71739f45947fe184b8c1e3462fe9ed to your computer and use it in GitHub Desktop.
Save imcodingideas/1d71739f45947fe184b8c1e3462fe9ed to your computer and use it in GitHub Desktop.
I would have just done something like this
const styles = {
cell: {
backgroundColor: color,
height: height,
width: width,
borderColor: '#000',
alignItems: 'center',
justifyContent: 'center'
},
numberText: {
color: color,
fontWeight: '600',
fontSize: 16
}
}
// styles.cell or styles.numberText
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment