import React from 'react';
import PropTypes from 'prop-types';

export class NoPrint extends React.Component {
    static propTypes = {
        children: PropTypes.node.isRequired
    };

    render() {
        const {children} = this.props;

        return <span className="rc-print-area-hide">{children}</span>;
    }
}
