infinite-prompt-list.tsx
基本信息
- 类型: React 组件 (TSX)
- 路径:
src/components/prompts/infinite-prompt-list.tsx
功能描述
Reset when new data arrives from server
导出内容
- <code>InfinitePromptList</code> - 函数
依赖导入
reactnext/navigationnext-intl@/components/ui/skeleton@/components/ui/button@/components/ui/masonry@/lib/plugins/widgetslucide-react./filter-context./prompt-card./widget-card
Props/接口
interface InfinitePromptListProps {
initialPrompts: PromptCardProps["prompt"][];
initialTotal: number;
filters: {
q?: string;
type?: string;
category?: string;
categorySlug?: string;
tag?: string;
sort?: string;
}
使用说明
在 JSX/TSX 中导入使用