react-data-grid Make EditorBase class parameterizable with Props and State types

This commit is contained in:
sgrabar
2018-08-31 12:09:59 +02:00
parent af59f37b7e
commit bcd556c976
+1 -1
View File
@@ -554,7 +554,7 @@ declare namespace AdazzleReactDataGrid {
export import OnRowExpandToggle = AdazzleReactDataGrid.OnRowExpandToggle;
export namespace editors {
class EditorBase extends React.Component<EditorBaseProps, any> {
class EditorBase<P = {}, S = {}> extends React.Component<P & EditorBaseProps, S> {
getStyle(): { width: string };
getValue(): any;