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