21 lines
613 B
JavaScript
21 lines
613 B
JavaScript
// Module ID: 14000
|
|
// Function ID: 14001
|
|
// Name: useReanimatedTransitionProgress
|
|
// Dependencies: [19, 13998]
|
|
// Exports: default
|
|
|
|
// Module 14000 (useReanimatedTransitionProgress)
|
|
import noopDefault from "noop" /* 13998 */;
|
|
import closure_2 from "noop" /* 19 */;
|
|
|
|
|
|
export default function useReanimatedTransitionProgress() {
|
|
const context = React.useContext(noopDefault);
|
|
if (undefined === context) {
|
|
const _Error = Error;
|
|
error = new Error("Couldn't find values for reanimated transition progress. Are you inside a screen in Native Stack?");
|
|
throw error;
|
|
} else {
|
|
return context;
|
|
}
|
|
};
|