/* * File: useAnnotations.ts * Description: Custom hook for annotation tools (stub) * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */ import { useState } from 'react'; /** * useAnnotations - manages annotations (stub) */ export const useAnnotations = () => { const [annotations, setAnnotations] = useState([]); const addAnnotation = (a: any) => setAnnotations(prev => [...prev, a]); return { annotations, addAnnotation }; }; /* * End of File: useAnnotations.ts * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */