@dynatrace/react-native-plugin
Version:
This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.
16 lines (15 loc) • 517 B
JavaScript
;
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Switch = void 0;
const react_native_1 = require("react-native");
const Types_1 = require("../../model/Types");
if (typeof react_native_1.Switch === 'object') {
exports.Switch = Object.assign({ _dtInfo: { type: Types_1.Types.Switch } }, react_native_1.Switch);
}
else {
exports.Switch = (_a = class Switch extends react_native_1.Switch {
},
_a._dtInfo = { type: Types_1.Types.Switch },
_a);
}