1.12.10 • Published 4 years ago

ac-input-locale-msg v1.12.10

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

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点击确定的钩子函数funobject
onCancel点击取消的钩子函数funObject
locale当前语种string--否 当前语种为空时,默认显示系统语种,若系统语种也为空时,显示zh_CN
sysLocale系统语种string--
localeList语言列表object--
onChange输入框的change的钩子函数funobject
isTextarea是否textarea,默认falsebool--
modalLocale模态框中title、按钮的文字语态object--
inputIdinput的唯一值string--和 form相关联
formthis.props.formobject--和 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