@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
27 lines (26 loc) • 1.1 kB
TypeScript
import * as React from 'react';
import type { MessageDecoder, MessageEncoder } from '@livekit/components-core';
import { MessageFormatter } from '@livekit/components-react';
import { SCUserType } from '@selfcommunity/types';
export interface VideoConferenceProps {
className?: string;
chatMessageFormatter?: MessageFormatter;
chatMessageEncoder?: MessageEncoder;
chatMessageDecoder?: MessageDecoder;
/** @alpha */
SettingsComponent?: React.ComponentType;
speakerFocused?: SCUserType;
disableChat?: boolean;
disableMicrophone?: boolean;
disableCamera?: boolean;
disableShareScreen?: boolean;
hideParticipantsList?: boolean;
showSettings?: boolean;
}
/**
* The `VideoConference` ready-made component is your drop-in solution for a classic video conferencing application.
* It provides functionality such as focusing on one participant, grid view with pagination to handle large numbers
* of participants, basic non-persistent chat, screen sharing, and more.
*
*/
export declare function VideoConference(inProps: VideoConferenceProps): JSX.Element;