nativescript-bottom-navigation
Version:
NativeScript plugin to add a bottom navigation component for Android & iOS
16 lines • 744 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var bottom_navigation_tab_base_1 = require("../base/bottom-navigation-tab.base");
var BitmapDrawable = android.graphics.drawable.BitmapDrawable;
var BottomNavigationTab = (function (_super) {
__extends(BottomNavigationTab, _super);
function BottomNavigationTab() {
return _super !== null && _super.apply(this, arguments) || this;
}
BottomNavigationTab.prototype.getNativeIcon = function () {
return new BitmapDrawable(this.icon.android);
};
return BottomNavigationTab;
}(bottom_navigation_tab_base_1.BottomNavigationTabBase));
exports.BottomNavigationTab = BottomNavigationTab;
//# sourceMappingURL=bottom-navigation-tab.js.map