UNPKG

agora-meeting-sdk

Version:

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

28 lines (27 loc) 879 B
import React, { FC } from 'react'; import { BaseProps } from '../interface/base-props'; import './index.css'; export interface InputProps extends BaseProps { type?: string; placeholder?: string; prefix?: React.ReactNode; suffix?: React.ReactNode; disabled?: boolean; value?: any; inputPrefixWidth?: number; rule?: RegExp; errorMsg?: string; errorMsgPositionLeft?: number; maxLength?: string | number; autoComplete?: string; onChange?: React.ChangeEventHandler<HTMLInputElement>; onFocus?: React.FocusEventHandler<HTMLInputElement>; onBlur?: React.FocusEventHandler<HTMLInputElement>; } export declare const Input: FC<InputProps>; export interface SearchProps extends InputProps { onSearch: (value: string) => void | Promise<void>; suffix?: any; prefix?: any; } export declare const Search: FC<SearchProps>;