communication-react-19
Version:
React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)
17 lines • 945 B
TypeScript
import React from 'react';
import { CreateVideoStreamViewResult, VideoGalleryLocalParticipant, VideoStreamOptions } from '../../types';
import { LocalScreenShareView } from '../VideoGallery';
/**
* A memoized version of local screen share component. React.memo is used for a performance
* boost by memoizing the same rendered component to avoid rerendering this when the parent component rerenders.
* https://reactjs.org/docs/react-api.html#reactmemo
*/
export declare const LocalScreenShare: React.MemoExoticComponent<(props: {
localParticipant: VideoGalleryLocalParticipant;
renderElement?: HTMLElement;
isAvailable?: boolean;
onCreateLocalStreamView?: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
onDisposeLocalScreenShareStreamView?: () => Promise<void>;
localScreenShareView?: LocalScreenShareView;
}) => React.JSX.Element | null>;
//# sourceMappingURL=LocalScreenShare.d.ts.map