lark-cms
Version:
Multi terminal CMS component library
73 lines (72 loc) • 1.75 kB
TypeScript
import React from "react";
export interface YhwWaterfallFLowTitlebar {
title?: string;
subtitle?: string;
layout?: string;
moreTitle?: string;
moreH5?: string;
moreRjs?: string;
}
export interface YhwWaterfallFLowLayout {
bgImg: string;
bgColor?: string;
borderColor?: string;
margin: Array<string>;
padding: Array<string>;
border: Array<string>;
corner: Array<string>;
height: number;
column: number;
displayElement?: string;
align?: number;
}
export interface YhwWaterfallFLowSetting {
power?: string;
channel?: Array<string>;
fixed?: Array<number>;
source?: Array<string>;
sort?: Array<string>;
}
export interface YhwWaterfallFlowInterface {
request: any;
api: string;
params: any;
navigation: any;
click: Function;
}
export interface UserInfoData {
id: number;
key: string;
avatar: string;
nick: string;
gender: number;
grade: number;
gradeDescription: string;
}
export interface YhwWaterfallFlowState {
id?: number;
UUID?: number;
pid?: number;
title?: string;
desc?: string;
comps?: string;
version?: string;
trackID?: number;
startTime: number;
endTime: number;
titlebar: YhwWaterfallFLowTitlebar;
layout: YhwWaterfallFLowLayout;
setting: YhwWaterfallFLowSetting;
innerUserInfo: UserInfoData;
innerInterface: YhwWaterfallFlowInterface;
innerRefreshing: boolean;
innerPageNumber: number;
innerPageSize: number;
innerDataCount: number;
innerListData: Array<any>;
innerPageStatus: string;
innerPageStatusText: string;
innerListHeaderComponent: React.JSX.Element;
innerFlatListRef: any;
innerShowBackTop: any;
}