From 0895967f20ef33bc0f32c99bac0a93761915b87f Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Sat, 16 Oct 2021 23:54:48 +0200
Subject: feat(algos): ability to select coloring

---
 components/Tweaks/index.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'components/Tweaks/index.tsx')

diff --git a/components/Tweaks/index.tsx b/components/Tweaks/index.tsx
index afd0ea7..078ee99 100644
--- a/components/Tweaks/index.tsx
+++ b/components/Tweaks/index.tsx
@@ -48,6 +48,8 @@ export interface TweakProps {
   tags: string[]
   tagColors: TagColors
   setTagColors: any
+  coloring: string
+  setColoring: any
 }
 
 export const Tweaks = (props: TweakProps) => {
@@ -67,6 +69,8 @@ export const Tweaks = (props: TweakProps) => {
     tags,
     tagColors,
     setTagColors,
+    coloring,
+    setColoring,
   } = props
 
   const [showTweaks, setShowTweaks] = usePersistantState('showTweaks', false)
@@ -194,6 +198,10 @@ export const Tweaks = (props: TweakProps) => {
                 highlightColor={highlightColor}
                 setHighlightColor={setHighlightColor}
                 threeDim={threeDim}
+                {...{
+                  coloring,
+                  setColoring,
+                }}
               />
             </AccordionPanel>
           </AccordionItem>
-- 
cgit v1.2.3

