UNPKG

react-quizzes

Version:

React quizz/form builder and delivery solution

20 lines 760 B
export declare const addElement: (item: object) => { readonly type: "ADD_ELEMENT"; readonly item: object; }; export declare const patchElement: (id: string, newitem: Object) => { readonly type: "PATCH_ELEMENT"; readonly id: string; readonly newitem: Object; }; export declare const deleteElement: (id: string) => { readonly type: "DELETE_ELEMENT"; readonly id: string; }; export declare const moveElement: (oldIndex: number, newIndex: number) => { readonly type: "MOVE_ELEMENT"; readonly oldIndex: number; readonly newIndex: number; }; export declare type IActions = ReturnType<typeof addElement | typeof deleteElement | typeof patchElement | typeof moveElement>; //# sourceMappingURL=actions.d.ts.map