AG-2653 Put React Hook example together, update docs

This commit is contained in:
Sean Landsman
2019-02-12 14:45:24 +00:00
parent e07c66c95d
commit 74ccfa6b26
6 changed files with 155 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
export function updateRowData(rowData) {
return {
type: 'ROW_DATA_CHANGED',
rowData
}
}
export function setCurrency(currencySymbol, exchangeRate) {
return {
type: 'CURRENCY_CHANGED',
currencySymbol,
exchangeRate
}
}