Merge pull request #19723 from lruckman/patch-3

[react-data-grid] Update editors signature to include components
This commit is contained in:
Arthur Ozga
2017-09-14 11:46:43 -07:00
committed by GitHub

View File

@@ -251,7 +251,7 @@ declare namespace AdazzleReactDataGrid {
* The editor for this column. Several editors are available in "react-data-grid/addons".
* @default A simple text editor
*/
editor?: React.ReactElement<any>
editor?: React.ReactElement<any> | React.ComponentClass<any> | React.StatelessComponent<any>
/**
* A custom read-only formatter for this column. An image formatter is available in "react-data-grid/addons".
*/