From b20114402977fd713f7e94efebe60b7c5f254292 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sat, 10 Jul 2021 14:59:10 +0200 Subject: [PATCH] Implement knob function triggering --- Dashboard/src/App.tsx | 2 +- Dashboard/src/Components/Knob.tsx | 36 ++++++++++++++++--------------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/Dashboard/src/App.tsx b/Dashboard/src/App.tsx index 63164b6..1d436c2 100644 --- a/Dashboard/src/App.tsx +++ b/Dashboard/src/App.tsx @@ -25,7 +25,7 @@ const App = () => { return (
- + { console.log("inc"); }} decrease={() => { console.log("dec"); }} toggle={() => { console.log("togg"); }} /> {/*