ac-input-locale-msg

1.12.10 • Public • Published

ac-input-locale

npm version Build Status Coverage Status devDependency Status NPM downloads Average time to resolve an issue Percentage of issues still open

react ac-input-locale component for tinper-bee

some description...

依赖

  • react >= 15.3.0
  • react-dom >= 15.3.0
  • prop-types >= 15.6.0

使用方法

 
$ ynpm install ac-input-locale --save-dev
 
引入
 
import AcInputLocale from 'ac-input-locale';
 
样式引入
 
import 'ac-input-locale/dist/index.css';
 

API

参数 说明 类型 返回值 是否必填
className 容器样式 string ---
disabled 是否可用 string ---
onOk 点击确定的钩子函数 fun object
onCancel 点击取消的钩子函数 fun Object
locale 当前语种 string -- 否 当前语种为空时,默认显示系统语种,若系统语种也为空时,显示zh_CN
sysLocale 系统语种 string --
localeList 语言列表 object --
onChange 输入框的change的钩子函数 fun object
isTextarea 是否textarea,默认false bool --
modalLocale 模态框中title、按钮的文字语态 object --
inputId input的唯一值 string -- 和 form相关联
form this.props.form object -- 和 inputId 相关联

开发调试

$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/ac-input-locale
cd ac-input-locale
$ npm install
$ npm run dev

Package Sidebar

Install

npm i ac-input-locale-msg

Weekly Downloads

0

Version

1.12.10

License

MIT

Unpacked Size

4.31 MB

Total Files

35

Last publish

Collaborators

  • littlefox9527