Skip to content

Commit

Permalink
Merge pull request #3 from anastely/master
Browse files Browse the repository at this point in the history
Add Style to ImageBackground itself
  • Loading branch information
WrathChaos authored Oct 6, 2020
2 parents c31f045 + 6d2fd0f commit 90d135e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/ImagedCarouselCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import styles, {

const ImagedCarouselCard = props => {
const {
style,
text,
source,
width,
Expand All @@ -32,7 +33,8 @@ const ImagedCarouselCard = props => {
borderRadius={borderRadius}
style={[
_backgroundStyle(width, height, shadowPaddingBottom),
shadowStyle || _shadowStyle(shadowColor)
shadowStyle || _shadowStyle(shadowColor),
style,
]}
>
<View
Expand All @@ -51,6 +53,7 @@ const ImagedCarouselCard = props => {
};

ImagedCarouselCard.propTypes = {
style: PropTypes.object,
text: PropTypes.string,
shadowColor: PropTypes.string,
borderRadius: PropTypes.number,
Expand Down

0 comments on commit 90d135e

Please sign in to comment.