Interface GroupChannelInviteProps<User>

Type Parameters

  • User extends UserStruct

Hierarchy

  • GroupChannelInviteProps

Properties

Properties

Fragment: {
    channel: GroupChannel;
    onInviteMembers: ((channel: GroupChannel) => void);
    onPressHeaderLeft: (() => void);
    queryCreator?: (() => CustomQueryInterface<User>);
    renderUser?: ((user: User, selectedUsers: User[], setSelectedUsers: Dispatch<SetStateAction<User[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>);
    sortComparator?: ((a: User, b: User) => number);
}

Type declaration

  • channel: GroupChannel
  • onInviteMembers: ((channel: GroupChannel) => void)
      • (channel: GroupChannel): void
      • Parameters

        • channel: GroupChannel

        Returns void

  • onPressHeaderLeft: (() => void)
      • (): void
      • Returns void

  • Optional queryCreator?: (() => CustomQueryInterface<User>)
      • (): CustomQueryInterface<User>
      • Returns CustomQueryInterface<User>

  • Optional renderUser?: ((user: User, selectedUsers: User[], setSelectedUsers: Dispatch<SetStateAction<User[]>>) => null | ReactElement<any, string | JSXElementConstructor<any>>)
      • (user: User, selectedUsers: User[], setSelectedUsers: Dispatch<SetStateAction<User[]>>): null | ReactElement<any, string | JSXElementConstructor<any>>
      • Render user component *

        Parameters

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

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

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

        • a: User
        • b: User

        Returns number

Generated using TypeDoc