UNPKG

702 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 /** 指定 item 展示本地 / 远端画面,有效值:local、remote ,不可动态变更
9 * @supported swan
10 */
11 type?: string
12 /** item 展示画面的用户 id
13 * @supported swan
14 */
15 userId?: number
16}
17/** 实时音视频通话画面
18 * @classification media
19 * @supported swan
20 * @see https://smartprogram.baidu.com/docs/develop/component/media_rtc-room-item/
21 */
22declare const RtcRoomItem: ComponentType<RtcRoomItemProps>
23export { RtcRoomItem, RtcRoomItemProps }