> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# stopScreenShare()

> Stops the local participant screen share.

`stopScreenShare()`

Stops the current screen share. Has no effect if no screen share is active.

If you provided a custom `mediaStream` when calling `startScreenShare()`, you are responsible for stopping the underlying tracks after calling this method.

## Return value

Returns `void`.

## Example

```javascript theme={null}
call.stopScreenShare();
```

## See also

> [card] Methods
>
> * [startScreenShare()](https://docs.daily.co/reference/react-native/instance-methods/start-screen-share.md)

> [card] Events
>
> * [local-screen-share-stopped](https://docs.daily.co/reference/react-native/events/media-events.md#local-screen-share-stopped)
> * [local-screen-share-started](https://docs.daily.co/reference/react-native/events/media-events.md#local-screen-share-started)

> [card] Guides
>
> * [Screen sharing](https://docs.daily.co/docs/daily-js/features/screen-sharing.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.