// src/components/Sidebar/SidebarNotes.tsx import React from 'react'; import { Location } from 'react-router-dom'; import { BookOpenIcon, PlusCircleIcon } from '@heroicons/react/24/solid'; import { Note } from '../../entities/Note'; interface SidebarNotesProps { handleNavClick: (path: string, title: string, icon: string) => void; location: Location; isDarkMode: boolean; openNoteModal: (note: Note | null) => void; notes: Note[]; } const SidebarNotes: React.FC = ({ handleNavClick, location, isDarkMode, openNoteModal, notes, }) => { const isActiveNote = (path: string) => { return location.pathname === path ? 'bg-gray-200 dark:bg-gray-700 text-gray-900 dark:text-white' : 'text-gray-700 dark:text-gray-300'; }; return ( <> ); }; export default SidebarNotes;