Type Parameters

  • User

Hierarchy

  • UserListModule

Properties

Header: CommonComponent<{
    left?: ReactElement<any, string | JSXElementConstructor<any>>;
    onPressHeaderLeft: (() => void);
    onPressHeaderRight: ((selectedUsers: User[]) => Promise<void>);
    right?: ReactElement<any, string | JSXElementConstructor<any>>;
    shouldActivateHeaderRight?: ((selectedUsers: User[]) => boolean);
}>
List: CommonComponent<{
    ListEmptyComponent?: ReactElement<any, string | JSXElementConstructor<any>>;
    onLoadNext: (() => Promise<void>);
    onRefresh?: (() => Promise<void>);
    refreshing?: boolean;
    renderUser: ((user: User, selectedUsers: User[], setSelectedUsers: Dispatch<SetStateAction<User[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>);
    users: User[];
}>
Provider: CommonComponent<{
    headerRight: ((selectedUsers: User[]) => string);
    headerTitle: string;
}>
StatusEmpty: CommonComponent<{}>
StatusError: CommonComponent<{
    onPressRetry: (() => void);
}>
StatusLoading: CommonComponent<{}>

Generated using TypeDoc