create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
12 lines (10 loc) • 434 B
JavaScript
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