- Preparing search index...
- The search index is not available
Documentation
Type alias OpenChannelListProps
Open
Channel
List
Props
: { Fragment
: { flatListProps
?: OpenChannelListProps["List"]["flatListProps"]; onPressChannel
: ((channel
: SendbirdOpenChannel) => void); onPressCreateChannel
: (() => void); queryCreator
?: UseOpenChannelListOptions["queryCreator"]; renderOpenChannelPreview
?: OpenChannelListProps["List"]["renderOpenChannelPreview"]; }; Header
: { onPressHeaderRight
: (() => void); }; List
: { flatListProps
?: Omit<FlatListProps<SendbirdOpenChannel>, "data" | "renderItem">; onLoadNext
: (() => Promise<void>); onRefresh
: (() => void); openChannels
: SendbirdOpenChannel[]; refreshing
: boolean; renderOpenChannelPreview
: ((props
: { channel
: SendbirdOpenChannel; }) => React.ReactElement | null); }; StatusError
: { onPressRetry
: (() => void); }; }
Type declaration
-
Fragment: {
flatListProps?: OpenChannelListProps["List"]["flatListProps"];
onPressChannel: ((channel: SendbirdOpenChannel) => void);
onPressCreateChannel: (() => void);
queryCreator?: UseOpenChannelListOptions["queryCreator"];
renderOpenChannelPreview?: OpenChannelListProps["List"]["renderOpenChannelPreview"];
}
-
Optional
flatListProps?: OpenChannelListProps["List"]["flatListProps"]
-
onPressChannel: ((channel: SendbirdOpenChannel) => void)
-
- (channel: SendbirdOpenChannel): void
-
Parameters
-
channel: SendbirdOpenChannel
Returns void
-
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>);
onRefresh: (() => void);
openChannels: SendbirdOpenChannel[];
refreshing: boolean;
renderOpenChannelPreview: ((props: {
channel: SendbirdOpenChannel;
}) => React.ReactElement | null);
}
-
Optional
flatListProps?: Omit<FlatListProps<SendbirdOpenChannel>, "data" | "renderItem">
-
onLoadNext: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
onRefresh: (() => void)
-
openChannels: SendbirdOpenChannel[]
-
refreshing: boolean
-
renderOpenChannelPreview: ((props: {
channel: SendbirdOpenChannel;
}) => React.ReactElement | null)
-
- (props: {
channel: SendbirdOpenChannel;
}): React.ReactElement | null
-
Parameters
-
props: {
channel: SendbirdOpenChannel;
}
-
channel: SendbirdOpenChannel
Returns React.ReactElement | null
-
StatusError: {
onPressRetry: (() => void);
}
-
onPressRetry: (() => void)
Props for FlatList component, it passed to OpenChannelList.List *