Interface MessageSearchModule
Properties
Header
Header: CommonComponent<{ keyword: string; onChangeKeyword: ((value) => void); onPressHeaderLeft: (() => void); onPressHeaderRight: (() => void); }> Type declaration
keyword: string
onChangeKeyword: ((value) => void)
- (value): void
Returns void
onPressHeaderLeft: (() => void)
onPressHeaderRight: (() => void)
List
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)
Returns null | ReactElement<any, string | JSXElementConstructor<any>>
StatusError
Type declaration
onPressRetry: (() => void)