// @flow import React from 'react'; import { Modal } from 'modal/modal'; import Button from 'component/button'; import Card from 'component/common/card'; type Props = { commentId: string, // sha256 digest identifying the comment deleterClaim: Claim, deleterIsModOrAdmin?: boolean, creatorClaim?: Claim, supportAmount?: any, setQuickReply: (any) => void, // --- redux --- doHideModal: () => void, doCommentAbandon: (string, Claim, ?boolean, ?Claim) => void, }; function ModalRemoveComment(props: Props) { const { commentId, deleterClaim, deleterIsModOrAdmin, creatorClaim, supportAmount, setQuickReply, doHideModal, doCommentAbandon, } = props; return (

{__('Are you sure you want to remove this comment?')}

{Boolean(supportAmount) && (

{__('This comment has a tip associated with it which cannot be reverted.')}

)} } actions={ <>
} />
); } export default ModalRemoveComment;