AG-2914 DOCS - Add docs around react hooks with editors.

This commit is contained in:
Sean Landsman
2019-09-23 14:29:21 +01:00
parent 5a26863aff
commit b9b2b03a6b
3 changed files with 25 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import React, { useContext } from "react";
import React, {useContext} from "react";
import {Context} from "./store";
import {AgGridReact} from "ag-grid-react";
@@ -22,7 +22,7 @@ export default function GridComponent() {
columnDefs={columnDefs}
rowData={rowData}
reactNext={true}
reactNext
// events
onGridReady={onGridReady}>