Interface OpenChannelListModule
Properties
Header
Type declaration
onPressHeaderRight: (() => void)
List
List: CommonComponent<{ 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>>); }> Type declaration
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>>
StatusError
Type declaration
onPressRetry: (() => void)