UNPKG

mediasfu-reactnative-expo

Version:

mediasfu-reactnative-expo – Expo-managed React Native WebRTC SDK for video conferencing, webinars, live streaming, broadcast, screen sharing, whiteboard, chat, recording, live subtitles, translation, and AI agent rooms on iOS, Android, and web. Prebuilt r

36 lines (35 loc) 1.01 kB
import React from 'react'; /** * Interface defining the props for the MeetingIdComponent. */ export interface MeetingIdComponentOptions { /** * The meeting ID to display. Defaults to an empty string. */ meetingID?: string; isDarkMode?: boolean; } /** * MeetingIdComponent displays a meeting ID in a read-only input field with an option to copy the ID to the clipboard. * * @component * @param {MeetingIdComponentOptions} props - Configuration options for the MeetingIdComponent. * @param {string} [props.meetingID=''] - The meeting ID to display. * @returns {JSX.Element} The rendered MeetingIdComponent component. * * @example * ```tsx * import React from 'react'; * import { MeetingIdComponent } from 'mediasfu-reactnative-expo'; * * function App() { * return ( * <MeetingIdComponent meetingID="1234567890" /> * ); * } * * export default App; * ``` */ declare const MeetingIdComponent: React.FC<MeetingIdComponentOptions>; export default MeetingIdComponent;