Whenever you try and apply styles through html css - you're using propType functions directly which is throwing warnings that it will be removed in the next major version.
I understand why it's not feasible to use the standalone PropTypes package directly, as it isn't possible to infer the PropTypes functions from 'TextStylePropTypes' etc.
The original code would fail silently on invalid styles, I'm not entirely convinced that is the correct decision. So this basically removes the silent failure highlighting errors in styling, and removes the dependancy on PropTypes.
I've also bumped buffer to 5.0.0 - 4.9.1 was causing some errors with the Object.assign polyfill.
Whenever you try and apply styles through html css - you're using propType functions directly which is throwing warnings that it will be removed in the next major version.
I understand why it's not feasible to use the standalone PropTypes package directly, as it isn't possible to infer the PropTypes functions from 'TextStylePropTypes' etc.
The original code would fail silently on invalid styles, I'm not entirely convinced that is the correct decision. So this basically removes the silent failure highlighting errors in styling, and removes the dependancy on PropTypes.
I've also bumped buffer to 5.0.0 - 4.9.1 was causing some errors with the Object.assign polyfill.