From d1dc77ed241b6f23eb49cac4ea58553ea0af873d Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Tue, 10 May 2022 18:49:58 -0400 Subject: [PATCH] Add testing page --- src/ui/Test.tsx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/ui/Test.tsx diff --git a/src/ui/Test.tsx b/src/ui/Test.tsx new file mode 100644 index 0000000..ebae74b --- /dev/null +++ b/src/ui/Test.tsx @@ -0,0 +1,24 @@ +import React from 'react' + +import {invoke} from '@tauri-apps/api/tauri' + +async function startProxy() { + await invoke('connect') +} + +async function stopProxy() { + await invoke('disconnect') +} + +class Test extends React.Component{ + render() { + return ( +
+ + +
+ ) + } +} + +export default Test \ No newline at end of file