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