Add onRelease, onReleaseInside, onReleaseOutside, and onPress events to a component