forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
565 B
16 lines
565 B
import {_Widget} from "./widget"; |
|
|
|
type configWidgetFn = (options: object) => object |
|
type configObjectFn = (widget: _Widget) => void |
|
|
|
export type _config = (widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]) => void |
|
|
|
export type _configWidget = (shorcut: string, widgetFunction: configWidgetFn) => void |
|
|
|
export type _registerObject = (shorcut: string, objectFunction: configObjectFn) => void |
|
|
|
export type _Plugin = { |
|
config: _config; |
|
configWidget: _configWidget; |
|
registerObject: _registerObject; |
|
}
|
|
|