Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ColumnDefinition extraData #675

Merged
merged 2 commits into from
Jun 13, 2017

Conversation

dahlbyk
Copy link
Contributor

@dahlbyk dahlbyk commented Jun 13, 2017

Griddle major version

1.x

Changes proposed in this pull request

Expand ColumnDefinition extraData into props for TableHeadingCell, Cell, customHeadingComponent and customComponent.

The v0 implementation of globalData passed globalData through directly; it's trivial to switch this implementation to pass through an extraData prop, if that would be preferred.

Why these changes are made

Closes #674

Are there tests?

Story!

dahlbyk added 2 commits June 13, 2017 00:05
Motivation: most props were not passed down through CellContainer.
Technically, extraData was already available via cellProperties, but
this is easier to use. extraData properties are spread into props for:

- TableHeadingCell
- Cell
- customHeadingComponent
- customComponent
@ryanlanciaux
Copy link
Member

Awesome thank you! 👍

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.

3 participants