"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultGetInitials = void 0;
/** Gets initials from the name for the Avatar. */
function defaultGetInitials(name = '') {
    const [first = '', last = ''] = name.split(' ');
    return `${first.charAt(0)}${last.charAt(0)}`.toUpperCase();
}
exports.defaultGetInitials = defaultGetInitials;
//# sourceMappingURL=helpers.js.map