import React, { Component } from 'react' import { Link } from 'react-router-dom' import './SingleReportComponent.css' import DeleteIcon from '@mui/icons-material/Delete'; import Tippy from '@tippyjs/react'; import { Delete } from '@mui/icons-material'; export class SingleReportComponent extends Component { constructor(props) { super(props) this.state = { } } render() { return ( {this.props.phoneOffer.offer_name} {this.props.reportedAt.split('T')[0]} {this.props.reportedBy} {this.props.times_reported} { this.props.removeOfferReport(this.props.id)} style={{fontSize: '45px'}}/> } ) } } export default SingleReportComponent