Hierarchy

  • OpenChannelParticipantsProps

Properties

Properties

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

Type declaration

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

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

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

        Parameters

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

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

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

        • a: Participant | User
        • b: Participant | User

        Returns number

Generated using TypeDoc