@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
16 lines (15 loc) • 521 B
TypeScript
import { ViewProps } from "@vnxjs/components/types/View";
import { ReactNode } from "react";
import { ListDirection } from "./list.shared";
export interface ListProps extends ViewProps {
loading?: boolean | (() => boolean);
hasMore?: boolean | (() => boolean);
direction?: ListDirection;
offset?: number;
children?: ReactNode;
scrollTop?: number;
onLoad?(): void;
onLoading?(loading: true): void;
}
declare function List(props: ListProps): JSX.Element;
export default List;