jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/less/Input/Textarea/props.d.ts

35 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
import { IBaseProps } from '../../_util/base';
/**
* returndonegonextsearchsend
*/
export type ConfirmType = 'return' | 'done' | 'go' | 'next' | 'search' | 'send';
/**
* @description
*/
export interface TextareaProps extends IBaseProps {
value?: string;
defaultValue: string;
placeholder: string;
placeholderClassName: string;
placeholderStyle: string;
autoHeight: boolean;
showCount: boolean;
allowClear: boolean;
controlled: boolean;
enableNative?: boolean;
maxLength?: number;
inputClassName: string;
disabled?: boolean;
inputStyle: string;
focusStyle?: string;
name?: string;
confirmType?: ConfirmType;
focus?: boolean;
confirmHold?: string;
onChange?: (value: string, e: any) => void;
onBlur?: (value: string, e: any) => void;
onFocus?: (value: string, e: any) => void;
onConfirm?: (value: string, e: any) => void;
}
export declare const TextareaDefaultProps: TextareaProps;