- UserListList<T>(__namedParameters): Element
Parameters
__namedParameters: {
ListEmptyComponent?: ReactElement<any, string | JSXElementConstructor<any>>;
onLoadNext: (() => Promise<void>);
onRefresh?: (() => Promise<void>);
refreshing?: boolean;
renderUser: ((user, selectedUsers, setSelectedUsers) => null | ReactElement<any, string | JSXElementConstructor<any>>);
users: T[];
}
Optional
ListEmptyComponent?: ReactElement<any, string | JSXElementConstructor<any>>
onLoadNext: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>
Optional
onRefresh?: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>
Optional
refreshing?: boolean
renderUser: ((user, selectedUsers, setSelectedUsers) => null | ReactElement<any, string | JSXElementConstructor<any>>)
- (user, selectedUsers, setSelectedUsers): null | ReactElement<any, string | JSXElementConstructor<any>>
Parameters
user: T
selectedUsers: T[]
setSelectedUsers: Dispatch<SetStateAction<T[]>>
Returns null | ReactElement<any, string | JSXElementConstructor<any>>
users: T[]
Returns Element
List empty component *