use updateOptions rather than onChange

This commit is contained in:
ryan
2019-03-04 11:21:05 -08:00
parent 989147a1ce
commit 77d709d9df
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -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> {