UNPKG

705 BTypeScriptView Raw
1import { ComponentType } from 'react'
2import { StandardProps } from './common'
3interface RtcRoomItemProps extends StandardProps {
4 /** rtc-room-item 组件的唯一标识符
5 * @supported swan
6 */
7 id?: string
8
9 /** 指定 item 展示本地 / 远端画面,有效值:local、remote ,不可动态变更
10 * @supported swan
11 */
12 type?: string
13
14 /** item 展示画面的用户 id
15 * @supported swan
16 */
17 userId?: number
18}
19
20/** 实时音视频通话画面
21 * @classification media
22 * @supported swan
23 * @see https://smartprogram.baidu.com/docs/develop/component/media_rtc-room-item/
24 */
25declare const RtcRoomItem: ComponentType<RtcRoomItemProps>
26export { RtcRoomItem, RtcRoomItemProps }