@tawa/mario-input
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @tawa/mario-input

Weekly Downloads

1

Version

0.2.3

License

ISC

Unpacked Size

31.5 kB

Total Files

6

Last publish

Collaborators

  • superwunc
  • thefirstsunday