@react-navigation/stack
Version:
Stack navigator component for iOS and Android with animated transitions and gestures
12 lines (11 loc) • 412 B
JavaScript
import * as React from 'react';
import { CardAnimationContext } from "./CardAnimationContext.js";
export function useCardAnimation() {
const animation = React.useContext(CardAnimationContext);
if (animation === undefined) {
throw new Error("Couldn't find values for card animation. Are you inside a screen in Stack?");
}
return animation;
}
//# sourceMappingURL=useCardAnimation.js.map
;