import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { SoftIcon, } from '../Icon';
import { SoftFlexGroup, SoftFlexItem, } from '../Flex';
export class SoftHealth extends Component {
    render() {
        let { children, className, color, ...rest } = this.props;
        const classes = classNames('softHealth', className);
        return (React.createElement("div", Object.assign({ className: classes }, rest),
            React.createElement(SoftFlexGroup, { gutterSize: "xs", alignItems: "center", responsive: false },
                React.createElement(SoftFlexItem, { grow: false },
                    React.createElement(SoftIcon, { type: "dot", color: color })),
                React.createElement(SoftFlexItem, { grow: false }, children))));
    }
}
SoftHealth.propTypes = {
    children: PropTypes.node,
    className: PropTypes.string,
};
//# sourceMappingURL=SoftHealth.js.map