Card and Button Shadow is disabled
SupriyaPKalghatgi opened this issue · comments
Description
Button and Card shadow is not visible
Related to
- Components
Code snippet
<Card enableShadow={true}>
<Text>
Lorem ipsum is placeholder text commonly used in the graphic,
print, and publishing industries for previewing layouts and visual
mockups. Lorem ipsum is placeholder text commonly used in the
graphic, print, and publishing industries for previewing layouts
and visual mockups.
</Text>
</Card>
Screenshots/Video
Environment
- Expo version: ^49.0.7,
- React Native version: 0.72.3
- React Native UI Lib version: ^7.8.0
Affected platforms
- Android
- iOS
@NitzanWix Is there a work around for this?
Hi @SupriyaPKalghatgi, Currently a work around would be by adding shadow using the style prop. We also have some shadow presets of our own. Refer to https://github.com/wix/react-native-ui-lib/blob/master/src/style/shadows.ts.
Thank you, I got it working with style
prop