Please check the `OverlayContextValue` in [OverlayContext](https://github.com/GetStream/stream-chat-react-native/blob/master/src/contexts/overlayContext/OverlayContext.tsx), for consumable values.
Provider for this context exists in `OverlayProvider` component. And so, any child component of OverlayProvider
can get access to context as following:

- Functional component

```tsx static
import { useOverlayContext } from 'stream-chat-react-native';

const SomeChildComponent = () => {
  const { openPicker, closePicker } = useOverlayContext();

  return (
    <View />
  )
}
```

- Class component

```tsx static
import React from 'react';
import { withOverlayContext } from 'stream-chat-react-native';

class SomeChildComponent extends React.Component {
  constructor(props) {
    super(props);

    console.log(props.openPicker);
    console.log(props.closePicker);
  }

  // UI Logic
}