Hierarchy

  • GroupChannelMembersProps

Properties

Properties

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

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

        Parameters

        • user: Member
        • selectedUsers: Member[]
        • setSelectedUsers: Dispatch<SetStateAction<Member[]>>

        Returns null | ReactElement<any, string | JSXElementConstructor<any>>

  • Optional sortComparator?: ((a, b) => number)
      • (a, b): number
      • Parameters

        • a: Member
        • b: Member

        Returns number

Generated using TypeDoc