MCPcopy
hub / github.com/koodo-reader/koodo-reader / BookCoverProps

Interface BookCoverProps

src/components/bookCoverItem/interface.tsx:4–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { RouteComponentProps } from "react-router";
3
4export interface BookCoverProps extends RouteComponentProps<any> {
5 book: BookModel;
6 currentBook: BookModel;
7 isOpenActionDialog: boolean;
8 isCollapsed: boolean;
9 dragItem: string;
10 isSelectBook: boolean;
11 isSelected: boolean;
12 selectedBooks: string[];
13 refreshBookKey: string;
14 allBooks?: BookModel[];
15 bookIndex?: number;
16 handleSelectBook: (isSelectBook: boolean) => void;
17 handleRefreshBookCover: (key: string) => void;
18 handleReadingBook: (book: BookModel) => void;
19 handleActionDialog: (isShowActionDialog: boolean) => void;
20 t: (title: string) => string;
21 handleDragItem: (key: string) => void;
22 handleSelectedBooks: (selectedBooks: string[]) => void;
23 handleDeleteDialog: (isShow: boolean) => void;
24}
25export interface BookCoverState {
26 isHover: boolean;
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected