import React, { useState } from 'react'; import { Button, Modal, ModalVariant } from '@patternfly/react-core'; import { translate as __ } from 'foremanReact/common/I18n'; import EmptyStatePattern from 'foremanReact/components/common/EmptyState/EmptyStatePattern'; import ResourceQuotaForm from '../ResourceQuotaForm'; import { MODAL_ID_CREATE_RESOURCE_QUOTA } from '../ResourceQuotaForm/ResourceQuotaFormConstants'; const ResourceQuotaEmptyState = () => { const [isOpen, setIsOpen] = useState(false); const onSubmitSuccessCallback = success => { if (success) { setIsOpen(false); window.location.reload(); } }; const ActionButton = ( ); return (