AG-2178 Add docs and example on how to use Context API with React

This commit is contained in:
Sean Landsman
2018-10-16 17:42:29 +01:00
parent 518a95ee89
commit 4998a51817
4 changed files with 16 additions and 3 deletions

View File

@@ -6,6 +6,8 @@ import {connect} from "react-redux";
import PriceRenderer from "./PriceRenderer";
const ThemeContext = React.createContext('light');
/*
* This component serves to display the row data (provided by redux)
*/