ai1ywm5xi: Add the Discover sheet with featured, trending, find experts panels and the appearance switch
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import type { ReactNode, Ref } from "react";
|
||||
import { canDelete, type CardPost } from "@/lib/feed-model";
|
||||
import type { DiscoverExpert } from "@/lib/discover";
|
||||
import type { DiscoverExpert, DiscoverMinnect } from "@/lib/discover";
|
||||
import { Composer, type ComposerProps } from "./Composer";
|
||||
import { GrowButton, IconButton } from "./Buttons";
|
||||
import { PostCard } from "./PostCard";
|
||||
@@ -42,6 +42,10 @@ export interface FeedViewProps {
|
||||
hasMore?: boolean;
|
||||
/** Phone layout only: experts for the featured slide after the second post. */
|
||||
featuredExperts?: DiscoverExpert[];
|
||||
/** Phone layout only: trending minnects for the Discover sheet. */
|
||||
trendingMinnects?: DiscoverMinnect[];
|
||||
/** Phone layout only: the Find experts panel shown in the Discover sheet. */
|
||||
searchPanel?: ReactNode;
|
||||
/** Phone layout only: the slide on screen changed (for the dock). */
|
||||
onCurrentChange?: (slide: CurrentSlide) => void;
|
||||
/** Phone layout only: the dock's comments button, for the post on screen. */
|
||||
|
||||
Reference in New Issue
Block a user