Hierarchy

  • GroupChannelListProps

Properties

Fragment: {
    channelListQueryParams?: ChannelListQueryParamsType;
    collectionCreator?: (() => GroupChannelCollection);
    flatListProps?: Omit<FlatListProps<GroupChannel>, "data" | "renderItem">;
    menuItemCreator?: ((defaultMenuItem) => ActionMenuItem);
    onPressChannel: ((channel) => void);
    onPressCreateChannel: ((channelType) => void);
    renderGroupChannelPreview?: ((props) => null | ReactElement<any, string | JSXElementConstructor<any>>);
    skipTypeSelection?: boolean;
}

Type declaration

  • Optional channelListQueryParams?: ChannelListQueryParamsType

    Description

    You can specify the query parameters for the channel list.

    Example

    <GroupChannelListFragment channelListQueryParams={{ limit: 20, includeEmpty: false }} />
    
  • Optional collectionCreator?: (() => GroupChannelCollection)
      • (): GroupChannelCollection
      • Returns GroupChannelCollection

        Deprecated

        Please use channelListQueryParams instead

  • Optional flatListProps?: Omit<FlatListProps<GroupChannel>, "data" | "renderItem">
  • Optional menuItemCreator?: ((defaultMenuItem) => ActionMenuItem)
      • (defaultMenuItem): ActionMenuItem
      • Parameters

        • defaultMenuItem: ActionMenuItem

        Returns ActionMenuItem

  • onPressChannel: ((channel) => void)
      • (channel): void
      • Parameters

        • channel: GroupChannel

        Returns void

  • onPressCreateChannel: ((channelType) => void)
  • Optional 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)
              • (): void
              • Returns void

          • onPress: (() => void)
              • (): void
              • Returns void

        Returns null | ReactElement<any, string | JSXElementConstructor<any>>

  • Optional skipTypeSelection?: boolean
Header: {}

Type declaration

    List: {
        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>>);
    }

    Type declaration

    • 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
        • Parameters

          • channel: GroupChannel

          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)
                • (): void
                • Returns void

            • onPress: (() => void)
                • (): void
                • Returns void

          Returns null | ReactElement<any, string | JSXElementConstructor<any>>

    TypeSelector: {
        onSelectType: ((type) => void);
        skipTypeSelection: boolean;
    }

    Type declaration

    • onSelectType: ((type) => void)
    • skipTypeSelection: boolean

    Generated using TypeDoc