Files
koodo-reader/src/components/deleteIcon/interface.tsx
troyeguo 1853dccf09 fix bug
Former-commit-id: 42673aa2a37d857b86a7cf4706528d6748b52b0a
2020-09-26 22:50:25 +08:00

25 lines
727 B
TypeScript

import BookmarkModel from "../../model/Bookmark";
import NoteModel from "../../model/Note";
export interface DeleteIconProps {
bookmarks: BookmarkModel[];
notes: NoteModel[];
digests: NoteModel[];
mode: string;
index: number;
tagName: string;
isReading: boolean;
itemKey: string;
handleFetchNotes: () => void;
handleFetchBookmarks: () => void;
renderHighlighters: () => void;
handleShowDelete: (Deletekey: string) => void;
handleMessageBox: (isShow: boolean) => void;
handleMessage: (message: string) => void;
handleShowBookmark: (isShowBookmark: boolean) => void;
handleChangeTag: (index: number) => void;
}
export interface DeleteIconStates {
deleteIndex: number;
isOpenDelete: boolean;
}