// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React from 'react' import {Card} from '../blocks/card' import {BoardTree} from '../viewModel/boardTree' import mutator from '../mutator' import Menu from '../widgets/menu' import CardDetail from './cardDetail' import Dialog from './dialog' type Props = { boardTree: BoardTree card: Card onClose: () => void } class CardDialog extends React.Component { render() { const menu = ( { await mutator.deleteBlock(this.props.card, 'delete card') this.props.onClose() }} /> ) return ( ) } } export {CardDialog}