jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/less/Input/Textarea/props.d.ts
2024-11-15 11:51:28 +08:00

35 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { IBaseProps } from '../../_util/base';
/**
* 有效值return显示“换行”、done显示“完成”、go显示“前往”、next显示“下一个”、search显示“搜索”、send显示“发送”
*/
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;