You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
493 B

import * as React from 'react';
import ReanimatedTransitionProgressContext from './ReanimatedTransitionProgressContext';
export default function useReanimatedTransitionProgress() {
const progress = React.useContext(ReanimatedTransitionProgressContext);
if (progress === undefined) {
throw new Error("Couldn't find values for reanimated transition progress. Are you inside a screen in Native Stack?");
}
return progress;
}
//# sourceMappingURL=useReanimatedTransitionProgress.js.map