"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const React = __importStar(require("react"));
const react_jss_1 = __importDefault(require("react-jss"));
const classnames_1 = __importDefault(require("classnames"));
const styles = {
    container: (props) => ({
        height: props.size || 34,
        width: props.size || 34,
    }),
    picture: (props) => ({
        border: `2px solid ${props.borderColor || 'white'}`,
        width: props.size || 34,
        height: props.size || 34,
        borderRadius: 100,
        marginTop: -2,
    }),
};
const RoundPictureImpl = ({ className, classes, item, style, }) => (React.createElement("div", { className: classnames_1.default(classes.container, className), style: style },
    React.createElement("img", { className: classes.picture, src: item.picture, alt: item.name })));
exports.RoundPicture = react_jss_1.default(styles)(RoundPictureImpl);
//# sourceMappingURL=index.js.map