File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed
Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " next-flow-interface" ,
3- "version" : " 0.17.12 " ,
3+ "version" : " 0.17.13 " ,
44 "description" : " Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything." ,
55 "type" : " module" ,
66 "module" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -10,5 +10,4 @@ export default interface DialogPlugin extends IconPlugin {
1010 view : MixView < PluginViewProps >
1111
1212 onRender ?: ( ) => void
13- onEffect ?: ( ) => ( ) => void
1413}
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export default interface DrawerPlugin extends IconPlugin {
1111 drawer : MixView < PluginViewProps >
1212
1313 onRender ?: ( ) => void
14- onEffect ?: ( ) => ( ) => void
1514
1615 onTitleClick ?: ( ) => void
1716 onTitleContextMenu ?: ( ) => void
Original file line number Diff line number Diff line change 1- import { FunctionComponent } from 'react'
2-
31import { PluginViewProps } from '@/plugin/dto/plugin-view-props.interface'
2+ import { MixView } from '@/type/view/mix-view'
43
54import BasePlugin from './base-plugin'
65
76export default interface ViewPlugin extends BasePlugin {
8- view : FunctionComponent < PluginViewProps >
7+ view : MixView < PluginViewProps >
98
109 onRender ?: ( ) => void
11- onEffect ?: ( ) => ( ) => void
1210}
You can’t perform that action at this time.
0 commit comments