# ThreadListItemContext

The `ThreadListItemContext` is provided by the [`ThreadListItem`](/chat/docs/sdk/react-native/v5/ui-components/thread-list-item/) component. If you are not familiar with React Context API, please read about it on [React docs](https://reactjs.org/docs/context.html).

The `ThreadListItemContext` needs to be used within the [`ThreadList` component](/chat/docs/sdk/react-native/v5/ui-components/thread-list/) as it depends on the [`ThreadsContext`](/chat/docs/sdk/react-native/v5/contexts/threads-context/).

## Basic Usage

The `ThreadListItemContext` can be consumed by any of the child components of `ThreadList` component as following:

```tsx
import { useContext } from "react";
import { ThreadListItemContext } from "stream-chat-react-native";

const value = useContext(ThreadListItemContext);
```

Alternatively, you can also use `useThreadListItemContext` hook provided by library to consume `ThreadListItemContext`.

```tsx
import { useThreadListItemContext } from "stream-chat-react-native";

const value = useThreadListItemContext();
```

## Value

### `channel`

Channel instance from the StreamChat client.

| Type                                                |
| --------------------------------------------------- |
| [Channel](/chat/docs/javascript/creating_channels/) |


### `dateString`

A formatted date string that can be used as a thread timestamp. The default format is `HH:MM`.

| Type   |
| ------ |
| string |

### `lastReply`

A [Message instance](https://github.com/GetStream/stream-chat-react-native/blob/493cdffcb5b2ee915b2f420e359ad685966a0dbe/package/src/components/MessageList/hooks/useMessageList.ts#L35) providing the latest message reply in the thread.

| Type        |
| ----------- |
| MessageType |

### `ownUnreadMessageCount`

A number providing the number of unread messages for the particular thread.

| Type   |
| ------ |
| number |

### `parentMessage`

A [Message instance](https://github.com/GetStream/stream-chat-react-native/blob/493cdffcb5b2ee915b2f420e359ad685966a0dbe/package/src/components/MessageList/hooks/useMessageList.ts#L35) providing the parent message of the thread.

| Type        |
| ----------- |
| MessageType |

### `thread`

An instance of the [`Thread` class](https://github.com/GetStream/stream-chat-js/blob/master/src/thread.ts) that can be used to either get more data about the thread or pass to `onThreadSelect`.

| Type   |
| ------ |
| Thread |



---

This page was last updated at 2026-04-17T17:33:41.727Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/v5/contexts/thread-list-item-context/](https://getstream.io/chat/docs/sdk/react-native/v5/contexts/thread-list-item-context/).