@heap/react-native-heap
Version:
React Native event tracking with Heap.
13 lines (11 loc) • 436 B
JavaScript
;
var SwitchWithForwardedRef = (require('@heap/react-native-heap')["default"] || {
withHeapSwitchAutocapture: function withHeapSwitchAutocapture(Component) {
return Component;
}
}).withHeapSwitchAutocapture(function (Component, displayName) {
if (Component && displayName) {
Component.displayName = displayName;
}
return Component;
}(React.forwardRef(function Switch(props, forwardedRef) {}), "Switch"));