# TypingContext

`TypingContext` is provided by [`Channel`](/chat/docs/sdk/react-native/v5/core-components/channel/) component. If you are not familiar with React Context API, please read about it on [React docs](https://reactjs.org/docs/context.html).

## Basic Usage

`TypingContext` can be consumed by any of the child component of `Channel` component as following:

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

const { typing } = useContext(TypingContext);
```

Alternatively, you can also use `useTypingContext` hook provided by library to consume TypingContext.

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

const { typing } = useTypingContext();
```

## Value

### typing

The value is a map of JavaScript SDK's typing.start event](/chat/docs/javascript/event_object/) object mapped by user id, when there are users typing.

| Type   |
| ------ |
| object |

---

This page was last updated at 2025-08-15T14:16:17.903Z.

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