Hierarchy

  • OpenChannelRegisterOperatorProps

Properties

Properties

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

Type declaration

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

  • onPressHeaderRight: ((channel) => void)
      • (channel): void
      • Parameters

        • channel: OpenChannel

        Returns void

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

  • 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: Participant
        • selectedUsers: Participant[]
        • setSelectedUsers: Dispatch<SetStateAction<Participant[]>>

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

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

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

        Returns number

Generated using TypeDoc