lbry-desktop/flow-typed/homepage.js

29 lines
494 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-17 20:55:18 +02:00
pinUrls?: Array<string>,
options?: {
channelIds?: Array<string>,
limitClaimsPerChannel?: number,
pageSize?: number,
},
route?: string,
hideForUnauth?: boolean,
};