Type alias OpenChannelListProps
OpenChannelListProps: { Fragment: { flatListProps?: OpenChannelListProps["List"]["flatListProps"]; onPressChannel: OpenChannelListProps["List"]["onPressChannel"]; onPressCreateChannel: (() => void); queryCreator?: UseOpenChannelListOptions["queryCreator"]; renderOpenChannelPreview?: OpenChannelListProps["List"]["renderOpenChannelPreview"]; }; Header: { onPressHeaderRight: (() => void); }; List: { flatListProps?: Omit<FlatListProps<SendbirdOpenChannel>, "data" | "renderItem">; onLoadNext: (() => Promise<void>); onPressChannel: ((channel) => void); onRefresh: (() => void); openChannels: SendbirdOpenChannel[]; refreshing: boolean; renderOpenChannelPreview: ((props) => React.ReactElement | null); }; StatusError: { onPressRetry: (() => void); }; } Type declaration
Fragment: {
flatListProps?: OpenChannelListProps["List"]["flatListProps"];
onPressChannel: OpenChannelListProps["List"]["onPressChannel"];
onPressCreateChannel: (() => void);
queryCreator?: UseOpenChannelListOptions["queryCreator"];
renderOpenChannelPreview?: OpenChannelListProps["List"]["renderOpenChannelPreview"];
}
Optional
flatListProps?: OpenChannelListProps["List"]["flatListProps"]
onPressChannel: OpenChannelListProps["List"]["onPressChannel"]
onPressCreateChannel: (() => void)
Optional
queryCreator?: UseOpenChannelListOptions["queryCreator"]
Optional
renderOpenChannelPreview?: OpenChannelListProps["List"]["renderOpenChannelPreview"]
Header: {
onPressHeaderRight: (() => void);
}
onPressHeaderRight: (() => void)
List: {
flatListProps?: Omit<FlatListProps<SendbirdOpenChannel>, "data" | "renderItem">;
onLoadNext: (() => Promise<void>);
onPressChannel: ((channel) => void);
onRefresh: (() => void);
openChannels: SendbirdOpenChannel[];
refreshing: boolean;
renderOpenChannelPreview: ((props) => React.ReactElement | null);
}
Optional
flatListProps?: Omit<FlatListProps<SendbirdOpenChannel>, "data" | "renderItem">
onLoadNext: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>
onPressChannel: ((channel) => void)
- (channel): void
Parameters
channel: SendbirdOpenChannel
Returns void
onRefresh: (() => void)
openChannels: SendbirdOpenChannel[]
refreshing: boolean
renderOpenChannelPreview: ((props) => React.ReactElement | null)
- (props): React.ReactElement | null
Parameters
props: {
channel: SendbirdOpenChannel;
onPress: (() => void);
}
channel: SendbirdOpenChannel
onPress: (() => void)
Returns React.ReactElement | null
StatusError: {
onPressRetry: (() => void);
}
onPressRetry: (() => void)