Cross-platform shadow for React Native. Supports Android, iOS, Web, and Expo
MIT License
Published by SrBrahma about 2 years ago
Major changes to improve the performance, simplify the library usage and improve the Developer Experience. An important update that consolidates this library's maturity.
stretch
property - #7.disabled
property - Easy and performance-friendly way to disable the shadow (but to keep rendering the children).containerViewProps
property.childrenViewProps
property.Renamed viewStyle
to style
.
Renamed containerViewStyle
to containerStyle
.
Renamed finalColor
to endColor
, to follow the start/end
pattern of the following change.
left
/ right
in sides
and corners
were changed to start
/ end
for RTL friendliness
sides
and corners
properties are now objects instead of arrays.
Note that you may still use
borderTopLeftRadius
etc instyle
besidesborderTopStartRadius
if you want to.
colord
package instead of polished
to deal with colors' alpha.