import React, { FC } from 'react';
import Icon from '../../images/ic_error.svg';

interface IProps {
  onClick: () => void;
}

const FeedbackButton: FC<IProps> = ({ onClick }) => {
  return (
    <div className="slot" onClick={onClick}>
      <Icon className="logo" />
    </div>
  );
};

export default FeedbackButton;
