• File: AddButton.js
  • Full Path: /home/docteuh/www/plugins/really-simple-ssl/settings/src/Settings/GeoBlockList/AddButton.js
  • Date Modified: 06/18/2026 4:25 PM
  • File size: 709 bytes
  • MIME-type: text/x-java
  • Charset: utf-8
import Icon from "../../utils/Icon";

const AddButton = ({ getCurrentFilter, moduleName, handleOpen, processing, blockedText, allowedText, disabled }) => {
    return (
        <div className="rsssl-add-button">
                <div className="rsssl-add-button__inner">
                    <button
                        className="button button-secondary button-datatable rsssl-add-button__button"
                        onClick={handleOpen}
                        disabled={disabled}
                    >
                        {allowedText}{processing && <Icon name = "loading" color = 'grey' />}
                    </button>
                </div>
        </div>
    );
};

export default AddButton;