Skip to content

Conversation

@adrianhurt
Copy link

I've added the props wrapperStyle and columnWrapperStyle, as FlatList does with columnWrapperStyle. In fact, in this case, columnWrapperStyle can be an object or a function (columnWrapperStyle(columnIndex)). It lets you have different styling for each column. For example you could have a alignItems attribute with flex-end for the first column and flex-start for the second to center elements.

I've also added a simple verticalSeparatorWidth support. Because it's very common a container with some padding and a fixed separator between each column.

Thanks for this library!!

Added support for styling the wrapper container and columns with wrapperStyle and columnWrapperStyle props.
Also added support for verticalSeparatorWidth.
@adrianhurt
Copy link
Author

Travis fails due to the style doesn't match with the snapshot… 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant