import {
StreamCall,
} from '@stream-io/video-react-native-sdk';
export const App = () => {
const call = /* ... */;
return (
<StreamCall call={call}>
<MyUI />
</StreamCall>
);
};StreamCall
Declarative wrapper around Call objects. Uses StreamCallProvider to make call and state available to child components.
General usage
Props
call
Stream's Call instance propagated to the component's children as a part of StreamCallContext. Children can access it with useCall() hook.
| Type |
|---|
Call |