@swaraj0_0/add-event-listener-hook

Will be able to add event listeners and will be able to intercept the event


License
MIT
Install
npm install @swaraj0_0/add-event-listener-hook@1.0.0

Documentation

@swaraj0_0/add-event-listener-hook

Will be able to add event listeners and will be able to intercept the event

NPM JavaScript Style Guide

Install

npm install --save @swaraj0_0/add-event-listener-hook

Usage

import React, { Component } from 'react'

import { useMyHook } from '@swaraj0_0/add-event-listener-hook'

const Example = () => {
  const example = useMyHook()
  return (
    <div>{example}</div>
  )
}

License

MIT © @SwarajGK


This hook is created using create-react-hook.