1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

feat: sdoc diff (#5465)

* feat: sdoc diff

* feat: add changes

* feat: optimize code
This commit is contained in:
杨国璇
2023-05-13 15:42:54 +08:00
committed by GitHub
parent 403c692033
commit 948fd44eee
12 changed files with 793 additions and 268 deletions

View File

@@ -0,0 +1,21 @@
import React, { Component } from 'react';
import './index.css';
class GoBack extends Component {
onBackClick = (event) => {
event.preventDefault();
window.history.back();
}
render() {
return (
<div className="go-back" onClick={this.onBackClick}>
<span className="fas fa-chevron-left"></span>
</div>
);
}
}
export default GoBack;