"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const link_1 = __importDefault(require("next/link"));
const util_1 = require("lib/share/util");
const avatar_1 = __importDefault(require("components/account/avatar"));
function User({ account_id, first_name, last_name }) {
    return ((0, jsx_runtime_1.jsx)(link_1.default, { href: `/share/accounts/${account_id}`, children: (0, jsx_runtime_1.jsxs)("a", { children: [(0, jsx_runtime_1.jsx)(avatar_1.default, { account_id: account_id, style: { marginRight: "5px" } }), (0, util_1.trunc)(`${first_name} ${last_name}`, 50)] }) }));
}
exports.default = User;
//# sourceMappingURL=user.js.map