import { createContext, useContext } from "react"; export const AnswerMotionContext = createContext<() => boolean>(() => false); export const useAnswerMotion = () => useContext(AnswerMotionContext);