brigand / react-style-proptype

Validates style objects by ensuring the keys are valid css property names (in camelcase form).
MIT License
58 stars 11 forks source link

Add shadow props #16

Open colbin8r opened 5 years ago

colbin8r commented 5 years ago

Add props for shadow styles: https://facebook.github.io/react-native/docs/shadow-props#shadowopacity

Right now, when I use the shadowOpacity key, I get Warning: Failed prop type: Prop style passed to TextInput. Has invalid keys shadowOpacity (my component is named TextInput).