agora-classroom-sdk
Version:
For publishing npm package agora-classroom-sdk (Web & Electron). Get more information from https://docs.agora.io
19 lines (18 loc) • 767 B
TypeScript
import React, { FC } from 'react';
import { BaseProps } from '../util/type';
import './index.css';
declare type PlaceholderType = 'emptyHistory' | 'cameraBroken' | 'cameraClose' | 'noBody' | 'noFile' | 'cameraDisabled' | 'noQuestion';
export interface PlaceholderProps extends BaseProps {
placeholderDesc?: string;
placeholderType?: PlaceholderType;
backgroundColor?: string;
}
export declare const Placeholder: FC<PlaceholderProps>;
export interface CameraPlaceHolderProps extends BaseProps {
state?: 'loading' | 'broken' | 'muted' | 'disabled' | 'none' | 'notpresent' | 'nosetup';
text?: string;
placeholderSize?: number;
children?: React.ReactNode;
}
export declare const CameraPlaceHolder: React.FC<CameraPlaceHolderProps>;
export {};