Implement Unread Filter for Library (#54)

This commit is contained in:
Sascha Hahne
2021-10-29 20:11:23 +02:00
committed by GitHub
parent 88fb4b64b6
commit e9bdc95060
9 changed files with 378 additions and 90 deletions

View File

@@ -11,7 +11,7 @@ import EmptyView from 'components/EmptyView';
import LoadingPlaceholder from 'components/LoadingPlaceholder';
import MangaCard from './MangaCard';
interface IProps{
export interface IMangaGridProps{
mangas: IMangaCard[]
isLoading: boolean
message?: string
@@ -21,7 +21,7 @@ interface IProps{
setLastPageNum: (lastPageNum: number) => void
}
export default function MangaGrid(props: IProps) {
export default function MangaGrid(props: IMangaGridProps) {
const {
mangas, isLoading, message, messageExtra, hasNextPage, lastPageNum, setLastPageNum,
} = props;