UNPKG

y-taro-ui

Version:

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

15 lines (14 loc) 519 B
import React from 'react'; import { InputProps as TaInputProps } from '@tarojs/components/types/Input'; import './index.less'; export interface InputProps extends TaInputProps { addonAfter?: React.ReactNode; addonBefore?: React.ReactNode; value?: string; onChange?: (value: string, fieldId?: string) => void; vlidate?: (value: string) => boolean; fieldId?: string; disabled?: boolean; } export declare const Input: React.NamedExoticComponent<InputProps>; export default Input;