1234567891011121314151617181920212223242526272829 |
- interface Menu {
- icon: string;
- title: string;
- icontype: string;
- }
- interface Item {
- id: number;
- iconId: string;
- text: string;
- }
- export interface SetOptionMenuParams {
- title: string;
- icon?: string;
- menus?: Menu[];
- items?: Item[];
- icontype?: string;
- show?: boolean;
- control?: boolean;
- onSuccess?: (e: any) => void;
- onFail?: (e: any) => void;
- }
- declare function setOptionMenu(args: SetOptionMenuParams): Promise<{}>;
- declare namespace setOptionMenu {
- var version: {
- android: string;
- ios: string;
- };
- }
- export default setOptionMenu;
|