'use client'; import { IconAnimation, IconAnimationOff, IconCoordinates, IconGrid, IconLineStraight, IconLineWave } from '@/components/icons'; import { Checkbox } from '@/components/input'; import { ModalView } from '@/components/modal'; import { useOSSGraphStore } from '../stores/oss-graph'; const ICON_SIZE = '1.5rem'; export function DlgOssSettings() { const showGrid = useOSSGraphStore(state => state.showGrid); const showCoordinates = useOSSGraphStore(state => state.showCoordinates); const edgeAnimate = useOSSGraphStore(state => state.edgeAnimate); const edgeStraight = useOSSGraphStore(state => state.edgeStraight); const toggleShowGrid = useOSSGraphStore(state => state.toggleShowGrid); const toggleShowCoordinates = useOSSGraphStore(state => state.toggleShowCoordinates); const toggleEdgeAnimate = useOSSGraphStore(state => state.toggleEdgeAnimate); const toggleEdgeStraight = useOSSGraphStore(state => state.toggleEdgeStraight); return ( } /> } /> checked ? ( ) : ( ) } /> checked ? ( ) : ( ) } /> ); }