New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@components-plus/debounce

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@components-plus/debounce

debounce-components

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

📦 Installation

npm install @components-plus/debounce

🔨 Usage

function App() {
    return (
        <div>
            <Debounce>
                <button
                    onClick={() => {
                        console.log("点击了")
                    }}
                >
                    点击
                </button>
            </Debounce>
        </div>
    )
}

see demo

🔨 API

nametypedescriptiondefaultValuerequired
delaynumber延迟时间250false
isFunctionComponent<P> ComponentClass<P> keyof ReactHTML
string
false

Keywords

debounce

FAQs

Package last updated on 26 Aug 2022

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