Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ac-search-panel

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-search-panel

SearchPanel ui component for react

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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-bee

折叠查询条件

使用方法

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是否默认展开booleanfalse
showIcon是否显示展开关闭图标booleantrue
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

Keywords

FAQs

Package last updated on 03 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc