import React, { Component } from 'react';
import PropTypes from "prop-types";
import classNames from 'classnames';
import { keysOf } from '../common';
import { SoftIcon } from '../icon';
var sizeToClassNameMap = {
    m: 'softLoadingKibana--medium',
    l: 'softLoadingKibana--large',
    xl: 'softLoadingKibana--xLarge'
};
export var SIZES = keysOf(sizeToClassNameMap);
export class SoftLoadingKibana extends Component {
    render() {
        let { size, className, ...rest } = this.props;
        const classes = classNames('softLoadingKibana', sizeToClassNameMap[size], className);
        return React.createElement("span", Object.assign({ className: classes }, rest),
            React.createElement("span", { className: "softLoadingKibana__icon" },
                React.createElement(SoftIcon, { type: "logoKibana", size: size })));
    }
}
SoftLoadingKibana.defaultProps = { size: 'm' };
SoftLoadingKibana.propTypes = {
    className: PropTypes.string,
    "aria-label": PropTypes.string,
    "data-test-subj": PropTypes.string,
    size: PropTypes.oneOf(["m", "l", "xl"])
};
//# sourceMappingURL=SoftLoadingKibana.js.map