Fragment
Fragment: {
channel: OpenChannel;
onPressHeaderLeft: (() => void);
queryCreator?: (() => CustomQueryInterface<Participant | User>);
renderUser?: ((user: Participant, selectedUsers: Participant[], setSelectedUsers: Dispatch<SetStateAction<Participant[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>);
sortComparator?: ((a: Participant | User, b: Participant | User) => number);
}
Type declaration
-
channel: OpenChannel
-
onPressHeaderLeft: (() => void)
-
Optional
queryCreator?: (() => CustomQueryInterface<Participant | User>)
-
- (): CustomQueryInterface<Participant | User>
-
Returns CustomQueryInterface<Participant | User>
-
Optional
renderUser?: ((user: Participant, selectedUsers: Participant[], setSelectedUsers: Dispatch<SetStateAction<Participant[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>)
-
- (user: Participant, selectedUsers: Participant[], setSelectedUsers: Dispatch<SetStateAction<Participant[]>>): null | ReactElement<any, string | JSXElementConstructor<any>>
-
Parameters
-
user: Participant
-
selectedUsers: Participant[]
-
setSelectedUsers: Dispatch<SetStateAction<Participant[]>>
Returns null | ReactElement<any, string | JSXElementConstructor<any>>
-
Optional
sortComparator?: ((a: Participant | User, b: Participant | User) => number)
-
- (a: Participant | User, b: Participant | User): number
-
Parameters
-
a: Participant | User
-
b: Participant | User
Returns number
Render user component *