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
432 B

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