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