Add parsing of AD1 files. Memorize window size and location.
This commit is contained in:
21
src/renderer/src/components/Home/Home.tsx
Normal file
21
src/renderer/src/components/Home/Home.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Button } from "antd";
|
||||
import ipcTypes from "../../../../util/ipcTypes.json";
|
||||
|
||||
const Home: React.FC = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>Home</h1>
|
||||
<Button
|
||||
onClick={(): void => {
|
||||
window.electron.ipcRenderer.send(
|
||||
ipcTypes.toMain.debug.decodeEstimate
|
||||
);
|
||||
}}
|
||||
>
|
||||
Test Decode Estimate
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Home;
|
||||
Reference in New Issue
Block a user