Created
March 14, 2017 12:16
-
-
Save alexbaumgertner/2495da9a366ce4ec6b7310456bec9d73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Cell = ('<div></div>'); | |
// => Here will be Griggle state? | |
const mapStateToProps = state => ({ | |
someData: state.someData | |
}); | |
const mapDispatchToProps = dispatch => ( | |
bindActionCreators(Cell, dispatch) | |
) | |
CellComponent = connect(mapStateToProps, mapDispatchToProps)(Cell) | |
<div className="PhrasesListTable"> | |
<Griddle> | |
<RowDefinition> | |
<ColumnDefinition | |
customComponent={CellComponent} | |
/> | |
</RowDefinition> | |
</Griddle> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment