Skip to content

tinper-acs/ac-search-cn

Repository files navigation

ac-search-cn

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

react ac-search-cn component for tinper-bee

some description...

依赖

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

使用方法

import AcSearchPanel from 'ac-search-cn';
import 'ac-search-cn/build/AcSearchPanel.css';

API

参数 说明 类型 默认值
title 标题 node -
search 查询回调 func -
reset 清空回调 func -
Children 子元素:Complex/Sample 组件 node -
hasChose 是否可以选择查询方案 node -

FormItem

参数 说明 类型 默认值
label 查询表单元素标签 string -
required 查询表单元素是否必填 bool -
tooltip 鼠标enter时显示内容 string -

开发调试

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