jam411 3 лет назад
Родитель
Сommit
5a9a5aa87f
1 измененных файлов с 0 добавлено и 25 удалено
  1. 0 25
      packages/app/src/components/PageComment/CommentControl.jsx

+ 0 - 25
packages/app/src/components/PageComment/CommentControl.jsx

@@ -1,25 +0,0 @@
-import React from 'react';
-
-import PropTypes from 'prop-types';
-
-
-const CommentControl = (props) => {
-  return (
-    <div className="page-comment-control">
-      <button type="button" className="btn btn-link p-2" onClick={props.onClickEditBtn}>
-        <i className="ti ti-pencil"></i>
-      </button>
-      <button type="button" className="btn btn-link p-2 mr-2" onClick={props.onClickDeleteBtn}>
-        <i className="ti ti-close"></i>
-      </button>
-    </div>
-  );
-};
-
-CommentControl.propTypes = {
-
-  onClickEditBtn: PropTypes.func.isRequired,
-  onClickDeleteBtn: PropTypes.func.isRequired,
-};
-
-export default CommentControl;