Props for the SearchModal component.
export interface SearchModalProps { isOpen: boolean; searchTarget?: KenmeiManga; accessToken: string; bypassCache: boolean; onClose: () => void; onSelectMatch: (manga: AniListManga) => void;} Copy
export interface SearchModalProps { isOpen: boolean; searchTarget?: KenmeiManga; accessToken: string; bypassCache: boolean; onClose: () => void; onSelectMatch: (manga: AniListManga) => void;}
Whether the modal is open.
Optional
The Kenmei manga to search for a match.
The AniList access token.
Whether to bypass the cache for searching.
Callback to close the modal.
Callback when a manga match is selected.
Props for the SearchModal component.
Source