Files
next-tjwater-frontend/src/features/agent/answer-ui/answer-motion-context.ts
T

5 lines
200 B
TypeScript

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