amis-rpc-design/node_modules/@react-navigation/elements/lib/commonjs/Label/getLabel.js
2023-10-07 19:42:30 +08:00

10 lines
297 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getLabel = getLabel;
function getLabel(options, fallback) {
return options.label !== undefined ? options.label : options.title !== undefined ? options.title : fallback;
}
//# sourceMappingURL=getLabel.js.map