Skip to main content

useClickOutside

useClickOutside(ref: MutableRefObject<null | HTMLElement> | ,onClickOutside: ): void

Parameters

(Mandatory parameters are in bold)
ParametersTypeDescription
onClickOutside
refMutableRefObject<null | HTMLElement> |

Return

The return is of type void