Is your feature request related to a problem? Please Describe.
The Card component works fine for most cases, but it would be cool to have a little bit more customization when it comes to the levels of elevation, either for UX reasons, or just to follow an already set design. The values for shadow would take into consideration Google's Material Design documentation and Apple's Human Interface Guidelines.
Describe the solution you'd like
Introducing a shadow prop with options for how elevated the Card component should be, with "xs" being the current shadow, and the default if shadow is not defined.
shadow: = "xs" | "sm" | "md" | "lg"
Usage
<Card shadow="sm">
<Card.Image source={require('../image.png')} />
<Text>Hello World!</Text>
</Card>
Is your feature request related to a problem? Please Describe.
The
Cardcomponent works fine for most cases, but it would be cool to have a little bit more customization when it comes to the levels of elevation, either for UX reasons, or just to follow an already set design. The values forshadowwould take into consideration Google's Material Design documentation and Apple's Human Interface Guidelines.Describe the solution you'd like
Introducing a
shadowprop with options for how elevated theCardcomponent should be, with"xs"being the current shadow, and the default ifshadowis not defined.Usage