use updateOptions rather than onChange
This commit is contained in:
@@ -22,7 +22,7 @@ export interface PanelData {
|
||||
|
||||
export interface PanelEditorProps<T = any> {
|
||||
options: T;
|
||||
onChange: (options: T) => void;
|
||||
updateOptions: (options: T) => void;
|
||||
}
|
||||
|
||||
export class ReactPanelPlugin<TOptions = any> {
|
||||
|
||||
Reference in New Issue
Block a user