agora-classroom-sdk
Version:
For publishing npm package agora-classroom-sdk (Web & Electron). Get more information from https://docs.agora.io
31 lines (30 loc) • 1.04 kB
TypeScript
import { FC } from 'react';
import { BaseProps } from '@classroom/ui-kit/components/util/type';
import './index.css';
import { AGScreenShareDevice } from 'agora-rte-sdk';
export declare const ScreenPickerDialog: ({ id, onOK, onCancel, windowList, desktopList, }: {
id: string;
onOK?: ((id: string, withAudio: boolean) => void) | undefined;
onCancel?: (() => void) | undefined;
windowList: (AGScreenShareDevice & {
imagebase64: string;
})[];
desktopList: (AGScreenShareDevice & {
imagebase64: string;
})[];
}) => JSX.Element;
export interface ScreenPickerProps extends BaseProps {
screenShareTitle?: string;
scrollHeight?: number;
desktopList: (AGScreenShareDevice & {
imagebase64: string;
})[];
windowList: (AGScreenShareDevice & {
imagebase64: string;
})[];
onActiveItem: (id: string) => void;
currentActiveId?: string;
onOK?: (withAudio: boolean) => void;
onCancel?: () => void;
}
export declare const ScreenPicker: FC<ScreenPickerProps>;