lbry-desktop/flow-typed/homepage.js

30 lines
528 B
JavaScript
Raw Permalink Normal View History

declare type HomepageObject = {
icon: string,
link: string,
options: any,
route: string,
title: string,
};
declare type HomepageData = {
[string]: HomepageObject,
default: any => any,
};
declare type RowDataItem = {
title: any,
link?: string,
help?: any,
icon?: string,
extra?: any,
2021-07-23 04:15:45 +02:00
pinnedUrls?: Array<string>,
options?: {
channelIds?: Array<string>,
limitClaimsPerChannel?: number,
pageSize?: number,
2022-05-23 18:50:59 +02:00
languages?: Array<string>,
},
route?: string,
hideForUnauth?: boolean,
};