Function GroupChannelListList
- GroupChannelListList(__namedParameters): Element
Parameters
__namedParameters: {
flatListProps?: Omit<FlatListProps<GroupChannel>, "data" | "renderItem">;
groupChannels: GroupChannel[];
menuItemCreator?: ((defaultMenuItem) => ActionMenuItem);
onLoadNext: (() => Promise<void>);
onPressChannel: ((channel) => void);
renderGroupChannelPreview: ((props) => null | ReactElement<any, string | JSXElementConstructor<any>>);
}
Optional
flatListProps?: Omit<FlatListProps<GroupChannel>, "data" | "renderItem">
groupChannels: GroupChannel[]
Optional
menuItemCreator?: ((defaultMenuItem) => ActionMenuItem)
- (defaultMenuItem): ActionMenuItem
Parameters
defaultMenuItem: ActionMenuItem
Returns ActionMenuItem
onLoadNext: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>
onPressChannel: ((channel) => void)
- (channel): void
Returns void
renderGroupChannelPreview: ((props) => null | ReactElement<any, string | JSXElementConstructor<any>>)
- (props): null | ReactElement<any, string | JSXElementConstructor<any>>
Parameters
props: {
channel: GroupChannel;
onLongPress: (() => void);
onPress: (() => void);
}
channel: GroupChannel
onLongPress: (() => void)
onPress: (() => void)
Returns null | ReactElement<any, string | JSXElementConstructor<any>>
Returns Element