diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-10-16 23:54:48 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-10-16 23:54:48 +0200 |
commit | 0895967f20ef33bc0f32c99bac0a93761915b87f (patch) | |
tree | b427a25eb977e00107b7f2aa4cbf7271e2e0e633 /components/Tweaks/index.tsx | |
parent | 64b579b4d6e989ea7c71840a1dde2c3dc360365d (diff) |
feat(algos): ability to select coloring
Diffstat (limited to 'components/Tweaks/index.tsx')
-rw-r--r-- | components/Tweaks/index.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
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> |