Commit 75710d0f by ryan

add partial

parent 8221c427
......@@ -30,10 +30,10 @@ export interface PanelEditorProps<T = any> {
* Called before a panel is initalized
*/
export type PanelTypeChangedHook<TOptions = any> = (
options: TOptions,
options: Partial<TOptions>,
prevPluginId?: string,
prevOptions?: any
) => TOptions;
) => Partial<TOptions>;
export class ReactPanelPlugin<TOptions = any> {
panel: ComponentClass<PanelProps<TOptions>>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment