Skip to content

Commit 90d135e

Browse files
author
FreakyCoder
authored
Merge pull request #3 from anastely/master
Add Style to ImageBackground itself
2 parents c31f045 + 6d2fd0f commit 90d135e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/ImagedCarouselCard.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import styles, {
1212

1313
const ImagedCarouselCard = props => {
1414
const {
15+
style,
1516
text,
1617
source,
1718
width,
@@ -32,7 +33,8 @@ const ImagedCarouselCard = props => {
3233
borderRadius={borderRadius}
3334
style={[
3435
_backgroundStyle(width, height, shadowPaddingBottom),
35-
shadowStyle || _shadowStyle(shadowColor)
36+
shadowStyle || _shadowStyle(shadowColor),
37+
style,
3638
]}
3739
>
3840
<View
@@ -51,6 +53,7 @@ const ImagedCarouselCard = props => {
5153
};
5254

5355
ImagedCarouselCard.propTypes = {
56+
style: PropTypes.object,
5457
text: PropTypes.string,
5558
shadowColor: PropTypes.string,
5659
borderRadius: PropTypes.number,

0 commit comments

Comments
 (0)