List: {
    Item: (props: ListItemProps) => Element;
    ItemBlock: (props: ListItemBlockProps) => Element;
    View: <T extends ItemWithId>(
        props: Pick<
            FlatListProps<T>,
            "contentContainerStyle" | "horizontal" | "scrollEnabled",
        > & {
            isRefreshing?: boolean;
            items: ListItemsType<T>;
            ListEmptyComponent?: () => Element;
            onEndScroll?: () => void;
            onRefresh?: () => void;
            optimization?: OptimizationListType;
            renderItem: RenderItemType<T>;
            scrollEnabled?: boolean;
        } & { ref?: Ref<FlatList<T>> },
    ) => ReactElement;
} = ...

Type declaration

  • Item: (props: ListItemProps) => Element
  • ItemBlock: (props: ListItemBlockProps) => Element
  • View: <T extends ItemWithId>(
        props: Pick<
            FlatListProps<T>,
            "contentContainerStyle" | "horizontal" | "scrollEnabled",
        > & {
            isRefreshing?: boolean;
            items: ListItemsType<T>;
            ListEmptyComponent?: () => Element;
            onEndScroll?: () => void;
            onRefresh?: () => void;
            optimization?: OptimizationListType;
            renderItem: RenderItemType<T>;
            scrollEnabled?: boolean;
        } & { ref?: Ref<FlatList<T>> },
    ) => ReactElement