Hierarchy

  • GroupChannelMembersProps

Properties

Properties

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)
      • (): void
      • Returns void

  • onPressHeaderRight: (() => void)
      • (): void
      • Returns 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>>
      • Render user component *

        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
      • Parameters

        • a: Member
        • b: Member

        Returns number

Generated using TypeDoc