"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Avatar = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("react");
const constants_1 = require("./constants");
const styles_1 = require("./styles");
exports.Avatar = (0, react_1.forwardRef)(({ color, size = 'lg', ...restProps }, ref) => {
    return ((0, jsx_runtime_1.jsx)(styles_1.StyledAvatar, { ...restProps, sx: { background: color, width: constants_1.Sizes[size], height: constants_1.Sizes[size] }, ref: ref, "$size": size }));
});
