UNPKG

mediasfu-reactnative

Version:
35 lines (34 loc) 982 B
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; } /** * 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'; * * function App() { * return ( * <MeetingIdComponent meetingID="1234567890" /> * ); * } * * export default App; * ``` */ declare const MeetingIdComponent: React.FC<MeetingIdComponentOptions>; export default MeetingIdComponent;