@yogiswara/honcho-editor-ui 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,6 +53,8 @@ export declare function useHonchoEditor(controller: Controller): {
|
|
|
53
53
|
createPreset: (name: string, settings: AdjustmentState) => Promise<Preset | null>;
|
|
54
54
|
deletePreset: (presetId: string) => Promise<void>;
|
|
55
55
|
renamePreset: (presetId: string, newName: string) => Promise<void>;
|
|
56
|
+
handleNext: () => void;
|
|
57
|
+
handlePrev: () => void;
|
|
56
58
|
panelRef: import("react").MutableRefObject<HTMLDivElement | null>;
|
|
57
59
|
contentRef: import("react").MutableRefObject<HTMLDivElement | null>;
|
|
58
60
|
panelHeight: number;
|
|
@@ -1012,6 +1012,8 @@ export function useHonchoEditor(controller) {
|
|
|
1012
1012
|
createPreset: controller.createPreset,
|
|
1013
1013
|
deletePreset: controller.deletePreset,
|
|
1014
1014
|
renamePreset: controller.renamePreset,
|
|
1015
|
+
handleNext: controller.handleNext,
|
|
1016
|
+
handlePrev: controller.handlePrev,
|
|
1015
1017
|
// Refs for mobile panel
|
|
1016
1018
|
panelRef,
|
|
1017
1019
|
contentRef,
|