0.2.3 • Published 1 year ago
@tawa/mario-input v0.2.3
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 | 是否去除字符串两端的空格 | boolean | true |
ignoreEmptyString | 是否将空字符串转化为undefined | boolean | true |
其他属性见 antd Input