ac-search-panel
[![npm version](https://img.shields.io/npm/v/ac-search-panel.svg)](https://www.npmjs.com/package/ac-search-panel) [![Build Status](https://img.shields.io/travis/tinper-bee/ac-search-panel/master.svg)](https://travis-ci.org/tinper-bee/ac-search-panel) [![C
Last updated a year ago by liushaozhen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ac-search-panel 
SYNC missed versions from official npm registry.

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

react ac-search-panel component for tinper-acs

折叠查询条件

使用方法

import SearchPanel from 'ac-search-panel';

class SearchPanelDemo extends Component {
    render() {
        return (
            <SearchPanel/>
        )
    }
}

样式引入

  • 可以使用link引入build目录下SearchPanel.css
<link rel="stylesheet" href="./node_modules/ac-search-panel/build/SearchPanel.css">
  • 可以在js中import样式
import "./node_modules/ac-search-panel/src/SearchPanel.scss"
//或是
import "./node_modules/ac-search-panel/build/SearchPanel.css"

API

参数 说明 类型 默认值
searchOpen 是否默认展开 boolean false
showIcon 是否显示展开关闭图标 boolean true
searchHead 标题 string -
searchContent 表单内容 ReactNode/string -
searchClick 查询按钮回调 function ()=>{}
clearClick 清空按钮回调 function ()=>{}

开发调试

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

Current Tags

  • 1.0.0                                ...           latest (a year ago)

3 Versions

  • 1.0.0                                ...           a year ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Downloads
Today 2
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)

Copyright 2014 - 2016 © taobao.org |