decord/source/13829_useReanimatedTransitionProgress.js

21 lines
570 B
JavaScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 13829
// Function ID: 13830
2026-07-20 16:05:17 +00:00
// Name: useReanimatedTransitionProgress
2026-08-08 06:10:11 +00:00
// Dependencies: [19, 13827]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-08 06:10:11 +00:00
// Module 13829 (useReanimatedTransitionProgress)
2026-07-29 08:29:29 +00:00
import noop from "noop";
2026-07-23 10:11:24 +00:00
2026-07-20 16:05:17 +00:00
export default function useReanimatedTransitionProgress() {
2026-08-08 06:10:11 +00:00
const context = React.useContext(importDefault(13827));
2026-07-20 16:05:17 +00:00
if (undefined === context) {
const _Error = Error;
const error = new Error("Couldn't find values for reanimated transition progress. Are you inside a screen in Native Stack?");
throw error;
} else {
return context;
}
};