Fund list

This commit is contained in:
saplf
2019-09-04 14:16:13 +08:00
parent 8e62f9bab9
commit ff5a431f43
11 changed files with 493 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ export interface ListProps<T = any> {
enableRefresh?: boolean;
loading?: boolean;
enableLoading?: boolean;
data?: T[];
data?: T[] | null;
onRefresh?: ActionCallback;
onLoadMore?: ActionCallback;
renderItem?: (item: T, index: number, array: T[]) => React.ReactNode;