UNPKG

y-taro-ui

Version:

基于taro的表单解决方案 & 基础组件

17 lines (16 loc) 594 B
import React from 'react'; import { TextareaProps as TaTextareaProps } from '@tarojs/components/types/Textarea'; import './index.less'; export interface TextareaProps extends TaTextareaProps { value?: string | number | any; onChange?: (value: string, fieldId?: string) => void; vlidate?(value: string): boolean; fieldId?: string; line?: number; disabled?: boolean; placeholderClass?: string; style?: React.CSSProperties; className?: string; } export declare const Textarea: React.NamedExoticComponent<TextareaProps>; export default Textarea;