"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getTitle(options = {}) {
    return options.drawerLabel || options.title || options.headerTitle;
}
exports.getTitle = getTitle;
function getIcon(options = {}) {
    const icon = options.drawerIcon;
    if (!icon) {
        return;
    }
    if (typeof icon === 'function') {
        return icon();
    }
    if (icon && typeof icon.type === 'string') {
        return icon;
    }
}
exports.getIcon = getIcon;
