- Preparing search index...
- The search index is not available
Documentation
- UserListList<T>(__namedParameters: {
ListEmptyComponent?: ReactElement<any, string | JSXElementConstructor<any>>;
onLoadNext: (() => Promise<void>);
onRefresh?: (() => Promise<void>);
refreshing?: boolean;
renderUser: ((user: T, selectedUsers: T[], setSelectedUsers: Dispatch<SetStateAction<T[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>);
users: T[];
}): Element
-
Parameters
-
__namedParameters: {
ListEmptyComponent?: ReactElement<any, string | JSXElementConstructor<any>>;
onLoadNext: (() => Promise<void>);
onRefresh?: (() => Promise<void>);
refreshing?: boolean;
renderUser: ((user: T, selectedUsers: T[], setSelectedUsers: Dispatch<SetStateAction<T[]>>) => 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: T, selectedUsers: T[], setSelectedUsers: Dispatch<SetStateAction<T[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>)
-
- (user: T, selectedUsers: T[], setSelectedUsers: Dispatch<SetStateAction<T[]>>): 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 *