From dad03e3be5b0a7c1159e0207cce11540ca830359 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 3 Jan 2022 17:21:18 +0100 Subject: feat(filter): add option to filter by subdirectory (#190) --- components/Tweaks/VisualsPanel.tsx | 122 ------------------------------------- 1 file changed, 122 deletions(-) delete mode 100644 components/Tweaks/VisualsPanel.tsx (limited to 'components/Tweaks/VisualsPanel.tsx') diff --git a/components/Tweaks/VisualsPanel.tsx b/components/Tweaks/VisualsPanel.tsx deleted file mode 100644 index f364c4f..0000000 --- a/components/Tweaks/VisualsPanel.tsx +++ /dev/null @@ -1,122 +0,0 @@ -import { - Text, - Accordion, - AccordionButton, - AccordionItem, - Flex, - VStack, - AccordionIcon, - AccordionPanel, - MenuButton, - Menu, - Button, - Box, - Portal, - MenuList, - MenuItem, -} from '@chakra-ui/react' -import React, { useCallback } from 'react' -import { HighlightingPanel } from './HighlightingPanel' -import { ColorsPanel } from './ColorsPanel' -import { initialColoring, initialVisuals } from '../config' -import { NodesNLinksPanel } from './NodesNLinksPanel' -import { LabelsPanel } from './LabelsPanel' -import { CitationsPanel } from './CitationsPanel' -import { ColorMenu } from './ColorMenu' -import { ThemeSelect } from './ThemeSelect' -import { GraphColorSelect } from './GraphColorSelect' - -export interface VisualsPanelProps { - visuals: typeof initialVisuals - setVisuals: any - highlightColor: string - setHighlightColor: any - threeDim: boolean - coloring: typeof initialColoring - setColoring: any -} - -export const VisualsPanel = (props: VisualsPanelProps) => { - const { - coloring, - setColoring, - visuals, - setVisuals, - highlightColor, - setHighlightColor, - threeDim, - } = props - const setVisualsCallback = useCallback((val) => setVisuals(val), []) - return ( - - - - - - - - Colors - - - - - - - - - - - Nodes & Links - - - - - - - - - - - Labels - - - - - - - - - - - Highlighting - - - - - - - - - - - Citations - - - - - - - - - - ) -} -- cgit v1.2.3