MCPcopy
hub / github.com/katelya77/KatelyaTV / PaginatedRowProps

Interface PaginatedRowProps

src/components/PaginatedRow.tsx:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { useId, useMemo, useState } from 'react';
5
6interface PaginatedRowProps {
7 children: React.ReactNode[];
8 itemsPerPage?: number;
9 className?: string;
10 onLoadMore?: () => Promise<void>; // 新增:加载更多数据的回调函数
11 hasMoreData?: boolean; // 新增:是否还有更多数据可加载
12 isLoading?: boolean; // 新增:是否正在加载中
13}
14
15export default function PaginatedRow({
16 children,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected