Socket
Socket
Sign inDemoInstall

@osjwnpm/ipsa-quisquam-dolorum

Package Overview
Dependencies
52
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @osjwnpm/ipsa-quisquam-dolorum

[![npm](https://img.shields.io/npm/v/@osjwnpm/ipsa-quisquam-dolorum.svg)](https://www.npmjs.com/package/@osjwnpm/ipsa-quisquam-dolorum) ![downloads](https://img.shields.io/npm/dt/@osjwnpm/ipsa-quisquam-dolorum.svg) [![CI](https://github.com/osjwnpm/ipsa-q


Version published
Weekly downloads
14
decreased by-98.43%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

npm downloads CI

Make-Event-Props

A function that, given props, returns an object of event callback props optionally curried with additional arguments.

This package allows you to pass event callback props to a rendered DOM element without the risk of applying any invalid props that could cause unwanted side effects.

tl;dr

  • Install by executing npm install @osjwnpm/ipsa-quisquam-dolorum or yarn add @osjwnpm/ipsa-quisquam-dolorum.
  • Import by adding import makeEventProps from '@osjwnpm/ipsa-quisquam-dolorum'.
  • Create your event props object:
    const eventProps = useMemo(
      () => makeEventProps(props, (eventName) => additionalArgs),
      [additionalArgs],
    );
    
  • Use your event props:
    return <div {...eventProps} />;
    

License

The MIT License.

Author

Wojciech Maj Wojciech Maj

Keywords

FAQs

Last updated on 25 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc