mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-17 12:16:38 +08:00
Merge pull request #19723 from lruckman/patch-3
[react-data-grid] Update editors signature to include components
This commit is contained in:
2
types/react-data-grid/index.d.ts
vendored
2
types/react-data-grid/index.d.ts
vendored
@@ -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".
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user