@mijadesign/mjui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
18 lines (17 loc) • 878 B
TypeScript
import { InputProps as NutInputProps } from '@nutui/nutui-react-taro';
import { InputProps as TaroInputProps } from '@tarojs/components';
import type { ReactNode } from 'react';
import React from 'react';
export type InputProps = Partial<NutInputProps> & Partial<Omit<TaroInputProps, 'type' | 'ref' | 'onBlur' | 'onFocus' | 'maxlength' | 'password'>> & {
underLine?: boolean;
showPassword?: boolean;
extra?: ReactNode;
showMaxCount?: boolean;
};
export type { InputConfirmType, InputFormatTrigger, InputType } from '@nutui/nutui-react-taro';
export declare const Input: React.ForwardRefExoticComponent<Partial<NutInputProps> & Partial<Omit<TaroInputProps, "type" | "ref" | "onFocus" | "onBlur" | "maxlength" | "password">> & {
underLine?: boolean;
showPassword?: boolean;
extra?: ReactNode;
showMaxCount?: boolean;
} & React.RefAttributes<any>>;