Grafana v7.2 migration error

Hello again,

with the reorganization of the module.tsx in Grafana 7.2 we encounter problems with setPanelOptions . Now the quesion is with setPanelOptions in module.tsx , how I can call my SimpleEditor file (export class: export class SimpleEditor extends React.PureComponent<PanelEditorProps<SimpleOptions>, State, Props> {} ) without replace component by function.

Best regards