import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
export class SoftTable extends Component {
    render() {
        let { children, className, compressed, responsive, ...rest } = this.props;
        const classes = classNames('softTable', className, {
            'softTable--compressed': compressed,
            'softTable--responsive': responsive,
        });
        return React.createElement("table", Object.assign({ className: classes }, rest), children);
    }
}
SoftTable.defaultProps = {
    responsive: true,
};
SoftTable.propTypes = {
    compressed: PropTypes.bool,
    children: PropTypes.node,
    className: PropTypes.string,
    responsive: PropTypes.bool,
};
//# sourceMappingURL=SoftTable.js.map