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 { initialVisuals } from '../config' import { NodesNLinksPanel } from './NodesNLinksPanel' import { LabelsPanel } from './LabelsPanel' import { CitationsPanel } from './CitationsPanel' import { ColorMenu } from './ColorMenu' import { ThemeSelect } from './ThemeSelect' export interface VisualsPanelProps { visuals: typeof initialVisuals setVisuals: any highlightColor: string setHighlightColor: any threeDim: boolean } export const VisualsPanel = (props: VisualsPanelProps) => { const { visuals, setVisuals, highlightColor, setHighlightColor, threeDim } = props const setVisualsCallback = useCallback((val) => setVisuals(val), []) return ( Colors Nodes & Links Labels Highlighting Citations ) }