13 lines
390 B
TypeScript
13 lines
390 B
TypeScript
// Metro module 9391 (f9392).
|
|
import { useCallback } from "react";
|
|
import { useSharedValue } from "../../../../reanimated/ReanimatedRexport";
|
|
export default function useShowNitroUpsellCallback() {
|
|
const sharedValue = useSharedValue(false);
|
|
return {
|
|
shouldShowUpsell: sharedValue,
|
|
onShowNitroUpsell: useCallback((a0) => {
|
|
sharedValue.set(a0);
|
|
}, [sharedValue])
|
|
};
|
|
};
|