• Parameters

    Returns {
        groupChannels: GroupChannel[];
        loading: boolean;
        next: (() => Promise<void>);
        refresh: (() => Promise<void>);
        refreshing: boolean;
    }

    • groupChannels: GroupChannel[]

      Get group channels state

    • loading: boolean

      Loading state, only available on first render

    • next: (() => Promise<void>)
        • (): Promise<void>
        • Fetch next channels to state

          Returns Promise<void>

    • refresh: (() => Promise<void>)
        • (): Promise<void>
        • Refresh, clear and reload messages from latest

          Returns Promise<void>

    • refreshing: boolean

      Refreshing state, status is changes when the refresh is called.

    Deprecated

    This hook is deprecated and will be replaced by the 'uikit-tools' package.

Generated using TypeDoc