Hierarchy

  • MessageSearchModule

Properties

Header: CommonComponent<{
    keyword: string;
    onChangeKeyword: ((value) => void);
    onPressHeaderLeft: (() => void);
    onPressHeaderRight: (() => void);
}>

Type declaration

  • keyword: string
  • onChangeKeyword: ((value) => void)
      • (value): void
      • Parameters

        • value: string

        Returns void

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

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

List: CommonComponent<{
    channel: GroupChannel;
    flatListProps?: Partial<FlatListProps<BaseMessage>>;
    messages: BaseMessage[];
    onPressSearchResultItem: ((params) => void);
    renderSearchResultItem: ((props) => null | ReactElement<any, string | JSXElementConstructor<any>>);
}>

Type declaration

  • channel: GroupChannel
  • Optional flatListProps?: Partial<FlatListProps<BaseMessage>>
  • messages: BaseMessage[]
  • onPressSearchResultItem: ((params) => void)
      • (params): void
      • Parameters

        • params: {
              channel: GroupChannel;
              message: BaseMessage;
          }
          • channel: GroupChannel
          • message: BaseMessage

        Returns void

  • renderSearchResultItem: ((props) => null | ReactElement<any, string | JSXElementConstructor<any>>)
      • (props): null | ReactElement<any, string | JSXElementConstructor<any>>
      • Parameters

        • props: {
              channel: GroupChannel;
              message: BaseMessage;
              onPress: (() => void);
          }
          • channel: GroupChannel
          • message: BaseMessage
          • onPress: (() => void)
              • (): void
              • Returns void

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

Provider: CommonComponent
StatusEmpty: CommonComponent
StatusError: CommonComponent<{
    onPressRetry: (() => void);
}>

Type declaration

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

StatusLoading: CommonComponent

Generated using TypeDoc