"use strict"; module.exports = function isEventInsideRef(ref, event) { return (ref.current != null && ref.current.contains(event.target)); };