/** * * PopUpForm * */ import React from 'react'; import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap'; import { router } from 'app'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import Input from 'components/Input'; import styles from './styles.scss'; class PopUpForm extends React.Component { // eslint-disable-line react/prefer-stateless-function toggleModal = () => router.push(router.location.pathname); state = { value: '' } renderButton = () => { if (this.props.showLoader) { return ( ); } return ( ); } renderForm = () => { if (this.props.settingType === 'providers') { return (