AG-1053 Tidy react examples, make more idiomatic
This commit is contained in:
13
src-examples/simpleReduxExample/gridDataActions.jsx
Normal file
13
src-examples/simpleReduxExample/gridDataActions.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
export function updateRowData(rowData) {
|
||||
return {
|
||||
type: 'ROW_DATA_CHANGED',
|
||||
rowData
|
||||
}
|
||||
}
|
||||
|
||||
export function updateRowSelection(rowSelection) {
|
||||
return {
|
||||
type: 'ROW_SELECTION_CHANGED',
|
||||
rowSelection
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user