UNPKG

agora-classroom-sdk

Version:

For publishing npm package agora-classroom-sdk (Web & Electron). Get more information from https://docs.agora.io

24 lines (23 loc) 580 B
import { FC } from 'react'; import './style.css'; export declare type CommonProps = { placeholder?: string; value: string; onChange?: (value: string) => void; onBlur?: () => void; onKeyDown?: () => void; onKeyUp?: () => void; options?: { text: string; value: string; }[]; readOnly?: boolean; error?: string; }; export declare type FieldProps = { label: string; type: 'text' | 'select'; width?: number; } & CommonProps; export declare const Field: FC<FieldProps>; export declare const TextInput: FC<CommonProps>;