| 27 | import { useCallback, useEffect } from 'react'; |
| 28 | |
| 29 | interface CommandMenuProps { |
| 30 | icon: string; |
| 31 | open: boolean; |
| 32 | onOpenChange: (open: boolean) => void; |
| 33 | commandSearchTerm: string; |
| 34 | onCommandSearchTermChange: (value: string) => void; |
| 35 | loading: boolean; |
| 36 | searchedVideos: TSearchedVideos[] | null; |
| 37 | onCardClick: (videoUrl: string) => void; |
| 38 | onClose: () => void; |
| 39 | } |
| 40 | |
| 41 | export function CommandMenu({ |
| 42 | icon, |
nothing calls this directly
no outgoing calls
no test coverage detected