react-native-date-picker
Advanced tools
Comparing version 2.7.2 to 2.7.3
{ | ||
"name": "react-native-date-picker", | ||
"version": "2.7.2", | ||
"version": "2.7.3", | ||
"description": "A Cross Platform React Native Picker", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -43,2 +43,9 @@ export function throwIfInvalidProps(props) { | ||
const checks = [widthCheck, heightCheck, modeCheck] | ||
const colorCheck = new PropCheck( | ||
props => | ||
props && props.textColor && !props.textColor.startsWith("#"), | ||
"Invalid text color. Must be a hex string." | ||
) | ||
const checks = [widthCheck, heightCheck, modeCheck, colorCheck] |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88863
254