| 2 | import { RouteComponentProps } from "react-router"; |
| 3 | |
| 4 | export 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 | } |
| 25 | export interface BookCoverState { |
| 26 | isHover: boolean; |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected