invertase / react-native-material-design

React Native UI Components for Material Design
http://react-native-material-design.github.io
MIT License
3.15k stars 366 forks source link

Cannot use color mappings of primary colours #150

Open cdimitroulas opened 7 years ago

cdimitroulas commented 7 years ago

Hey,

I am trying to change the colour of the Checkbox component using the 'primary' prop however this seems to only accept one of the options from the PRIMARY_COLORS array. I would like to have a color mapping of googleGreen 400 rather than the default 500. I tried something like this but it didn't work:

<Checkbox primary={ COLOR['googleGreen400'] } />

Is there a way to achieve this?