masto/timelines: better documentation
This commit is contained in:
parent
d88921f245
commit
b55618664c
3 changed files with 51 additions and 5 deletions
|
@ -18,7 +18,7 @@ import { findElementActionable } from "./RegularToot";
|
|||
|
||||
const TootList: Component<{
|
||||
ref?: Ref<HTMLDivElement>;
|
||||
threads: string[];
|
||||
threads: readonly string[];
|
||||
onUnknownThread: (id: string) => { value: mastodon.v1.Status }[] | undefined;
|
||||
onChangeToot: (id: string, value: mastodon.v1.Status) => void;
|
||||
}> = (props) => {
|
||||
|
|
|
@ -40,7 +40,7 @@ const TrendTimelinePanel: Component<{
|
|||
<PullDownToRefresh
|
||||
linkedElement={scrollLinked()}
|
||||
loading={snapshot.loading}
|
||||
onRefresh={() => refetchTimeline({ direction: "new" })}
|
||||
onRefresh={() => refetchTimeline("next")}
|
||||
/>
|
||||
<div
|
||||
ref={(e) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue