Files
bodyshop-desktop/src/renderer/src/components/Home/Home.tsx
Patrick Fic d14137dc44 Reformat.
2025-03-21 11:41:42 -07:00

22 lines
416 B
TypeScript

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;