AG-2178 Add docs and example on how to use Context API with React
This commit is contained in:
@@ -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)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user