Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ Contributors will be posted here.

<br/>

<a href="https://www.instagram.com/kimelionipan/"><img src="https://i.ibb.co/cNsM25q/27906487-10204280050437665-1584849596-o-1.png"></a>

### :baby: Beginners

Not sure where to start, or a beginner? Take a look at the [issues page](https://github.com/Luehang/react-native-image-layout/issues).
Expand Down
1 change: 0 additions & 1 deletion src/ImageCell/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export default class ImageCell extends React.PureComponent {
{
width: data.masonryDimensions.width,
height: data.masonryDimensions.height,
backgroundColor: "lightgrey",
...imageContainerStyle
},
{ opacity: this.state.opacity }
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class ImageLayout extends React.PureComponent {
initialColToRender: PropTypes.number,
initialNumInColsToRender: PropTypes.number,
sorted: PropTypes.bool,
backgroundColor: PropTypes.string,
masonryFlatListColProps: PropTypes.object,
renderMainHeader: PropTypes.func,
renderMainFooter: PropTypes.func,
Expand Down Expand Up @@ -163,6 +164,7 @@ class ImageLayout extends React.PureComponent {
initialColToRender={this.props.initialColToRender}
initialNumInColsToRender={this.props.initialNumInColsToRender}
sorted={this.props.sorted}
backgroundColor={this.props.backgroundColor}
onLongPressImage={this.props.onLongPressImage}
imageContainerStyle={this.props.imageContainerStyle}
renderIndividualMasonryHeader={this.props.renderIndividualMasonryHeader}
Expand Down