decord/source/9752_useUpdateGestureConfig.js

21 lines
499 B
JavaScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 9752
// Function ID: 75782
2026-07-20 16:05:17 +00:00
// Name: useUpdateGestureConfig
2026-07-23 10:11:24 +00:00
// Dependencies: [31]
2026-07-20 16:05:17 +00:00
// Exports: useUpdateGestureConfig
2026-07-24 07:16:23 +00:00
// Module 9752 (useUpdateGestureConfig)
2026-07-23 10:11:24 +00:00
import { useEffect } from "result";
2026-07-20 16:05:17 +00:00
export const useUpdateGestureConfig = function useUpdateGestureConfig(arg0, options) {
const useEffect = arg0;
const enabled = options.enabled;
const items = [enabled, arg0];
useEffect(() => {
if (undefined !== enabled) {
2026-07-23 10:11:24 +00:00
closure_0.enabled(enabled);
2026-07-20 16:05:17 +00:00
}
}, items);
};