fix(shadow*): replace depracated shadow props with boxShadow #752
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: Deprecated
shadow*
Style Props in@storybook/ondevice-controls
Using the old (
shadow*
) props now triggers deprecation warnings in the console, which can clutter logs and may eventually lead to broken or unsupported styles in future React Native releases.What I did
shadow*
) with the modernboxShadow
propertyboxShadow
syntaxHow to test
cd examples/expo-example yarn ios
Color Example
on ios and verify that shadows are rendered correctly.Does this need a new example in examples/expo-example?
No, the changes are internal styling updates that don't require new examples.
Does this need an update to the documentation?
No, this is a technical implementation change that doesn't affect the public API or usage patterns.
Additional Notes