decord/source/4514_useTransitionProgress.js

21 lines
529 B
JavaScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 4514
2026-07-27 11:26:19 +00:00
// Function ID: 39744
2026-07-20 16:05:17 +00:00
// Name: useTransitionProgress
2026-07-25 08:10:48 +00:00
// Dependencies: [31, 4493]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-25 08:10:48 +00:00
// Module 4514 (useTransitionProgress)
2026-07-23 10:11:24 +00:00
import result from "result";
2026-07-20 16:05:17 +00:00
export default function useTransitionProgress() {
2026-07-25 08:10:48 +00:00
const context = React.useContext(importDefault(4493));
2026-07-20 16:05:17 +00:00
if (undefined === context) {
const _Error = Error;
const error = new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");
throw error;
} else {
return context;
}
};