UNPKG

react-antd-admin-panel

Version:

Easy prototyping admin panel using React and Antd

49 lines (48 loc) 1.26 kB
import Post from "./Post"; import Formula from "./Formula"; import Section from "./builder/Section"; export default class Action { _icon: any; _fontawesome: any; _label: any; _type: string; _class: string; _post: Post | undefined; _postKey: any; _key: any; _bind: any; _route: any; _actions: Action[]; _section: any; _formula: any; _component: any; _componentData: any; callCallback: (args?: any, action?: any) => void | any; _onError: any; _onComplete: any; constructor(); click(args?: any): void; _hideClear: boolean; hideClear(): this; callback(value: any): this; onError(func: any): this; onComplete(func: any): this; callErrors(): void; callCompletes(args?: any): void; key(value: string): this; post(value: string): this; icon(value: any): this; label(value: string): this; type(value: string): this; bind(value: string): this; route(value: any): this; action(value: Action): this; section(section: Section): this; formula(formula: Formula): this; component(component: any): this; fontawesome(v: any): this; _access: any; access(v: any): this; _disabled: any; disabled(v: any): this; }