1.0.5 • Published 4 months ago

react-composed-path v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

React Composed Path

A React component for handling clicks outside of a component

import {useComposedPath} from 'react-composed-path'

Examples

Single use:

useComposedPath('#box', '#button', setVisible)

Multiple use:

useComposedPath(['#box1', '#box2'], ['#button1', '#button2'], [setVisible1, setVisible2])
1.0.5

4 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago