var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
import React from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
var DeviceIcon = /** @class */ (function (_super) {
    __extends(DeviceIcon, _super);
    function DeviceIcon() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    DeviceIcon.prototype.render = function () {
        var _a = this.props, testAutomationId = _a.testAutomationId, size = _a.size, className = _a.className;
        var rootClassName = 'rc-device-icon';
        var iconClassName = classnames(rootClassName + "__icon", className);
        var style = {
            fontSize: size + "px"
        };
        return (React.createElement("div", { style: style, className: rootClassName, "data-test-automation-id": testAutomationId },
            React.createElement("div", { className: iconClassName })));
    };
    DeviceIcon.propTypes = {
        size: PropTypes.number.isRequired,
        testAutomationId: PropTypes.string,
        className: PropTypes.string
    };
    DeviceIcon.defaultProps = {
        testAutomationId: 'deviceIcon',
        className: ''
    };
    return DeviceIcon;
}(React.PureComponent));
export { DeviceIcon };
//# sourceMappingURL=DeviceIcon.js.map