import { Meta } from '@storybook/blocks';
# ContentShareProvider
The `ContentShareProvider` provides state and functionality for content sharing.
### State
```javascript
{
// The tile ID of the active content share
tileId: number | null;
// Whether the content share is paused
paused: boolean;
// Whether or not the local user is screen sharing
isLocalUserSharing: boolean;
// Whether or not the local user's content share is loading
isLocalShareLoading: boolean;
// The chime attendee ID of the user sharing
sharingAttendeeId: string | null;
}
```
You can access the state with the `useContentShareState` hook.
## Usage
If you are using `MeetingProvider`, the `ContentShareProvider` is rendered by default.
```jsx
import React from 'react';
import {
MeetingProvider,
useContentShareState,
} from 'amazon-chime-sdk-component-library-react';
const App = () => (