thabti / react-native-css

Style React-Native components with css
MIT License
769 stars 66 forks source link

Add validation #44

Open jpomazal opened 8 years ago

jpomazal commented 8 years ago

We should add validation for CSS properties that would generate invalid RN values and display a warning in the console for these values and preferably show the file and line number. This is useful for catching values that would behave unexpectedly in RN, especially when porting web assets.

This would be especially useful since the authors of many CSS assets probably won't know the supported styles of RN or intend their styling to be used in RN.