diff --git a/web/settings/relationship/block-users-modal.react.js b/web/settings/relationship/block-users-modal.react.js new file mode 100644 index 000000000..bcafac1dc --- /dev/null +++ b/web/settings/relationship/block-users-modal.react.js @@ -0,0 +1,45 @@ +// @flow + +import { faUserShield } from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import * as React from 'react'; + +import { + relationshipActions, + userRelationshipStatus, +} from 'lib/types/relationship-types.js'; + +import AddUsersListModal from './add-users-list-modal.react.js'; + +const excludedStatuses = new Set([ + userRelationshipStatus.BOTH_BLOCKED, + userRelationshipStatus.BLOCKED_BY_VIEWER, +]); + +type Props = { + +onClose: () => void, +}; + +function BlockUsersModal(props: Props): React.Node { + const { onClose } = props; + + const buttonContent = ( +