0.2.3 • Published 1 year ago

@tawa/mario-input v0.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

title: Input 输入框 nav: path: /components order: 1 group: title: ' ' path: /input

order: 10

Input 输入框

通过鼠标或键盘输入内容,是最基础的表单域的包装。

使用

antd Input 组件增强,也可使用 Input.Search 等导出其他类型的组件

import Input from '@tawa/mario-input';

<Input />;

代码演示

基本用法

参数

参数说明类型默认值
trim是否去除字符串两端的空格booleantrue
ignoreEmptyString是否将空字符串转化为undefinedbooleantrue

其他属性见 antd Input