Function OpenChannelListList
- OpenChannelListList(__namedParameters): Element
Parameters
__namedParameters: {
flatListProps?: Omit<FlatListProps<OpenChannel>, "data" | "renderItem">;
onLoadNext: (() => Promise<void>);
onPressChannel: ((channel) => void);
onRefresh: (() => void);
openChannels: OpenChannel[];
refreshing: boolean;
renderOpenChannelPreview: ((props) => null | ReactElement<any, string | JSXElementConstructor<any>>);
}
Optional
flatListProps?: Omit<FlatListProps<OpenChannel>, "data" | "renderItem">
onLoadNext: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>
onPressChannel: ((channel) => void)
- (channel): void
Returns void
onRefresh: (() => void)
openChannels: OpenChannel[]
refreshing: boolean
renderOpenChannelPreview: ((props) => null | ReactElement<any, string | JSXElementConstructor<any>>)
- (props): null | ReactElement<any, string | JSXElementConstructor<any>>
Parameters
props: {
channel: OpenChannel;
onPress: (() => void);
}
channel: OpenChannel
onPress: (() => void)
Returns null | ReactElement<any, string | JSXElementConstructor<any>>
Returns Element