rebuild project
This commit is contained in:
1 parent
69a284cc16
commit
84e1e376b9
9 files changed
+8
-7
No files matched your search
@@ -0,0 +1,26 @@
|
||||
import React, { Component } from "react";
|
||||
import { DatePicker } from 'antd';
|
||||
import { ipcRenderer } from 'electron';
|
||||
import EventType from "../../common/EventType";
|
||||
|
||||
interface EditorState {
|
||||
workspace: string;
|
||||
}
|
||||
|
||||
export default class Editor extends Component {
|
||||
state: EditorState = {
|
||||
workspace: ''
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
ipcRenderer.on(EventType.MAIN_OPEN_FILE, (event: any, path: any) => {
|
||||
console.log("on", event, path);
|
||||
})
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<DatePicker />
|
||||
)
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user