react-native-material-design
Advanced tools
Comparing version 0.3.4 to 0.3.5
import { Platform } from 'react-native'; | ||
import processColor from 'processColor'; | ||
import { PRIMARY, COLOR } from './config'; | ||
@@ -12,3 +11,3 @@ | ||
if (string) { | ||
if (processColor(string) !== undefined) | ||
if (string.indexOf('#') > -1 || string.indexOf('rgba') > -1) { | ||
return string; | ||
@@ -15,0 +14,0 @@ } |
{ | ||
"name": "react-native-material-design", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "React Native Material Design Components", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
74632
1999