import { Text, Accordion, AccordionButton, AccordionItem, Flex, VStack, AccordionIcon, AccordionPanel, } 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' 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 ) }