import { FC } from 'react' import * as commands from '@/features/source-editor/extensions/toolbar/commands' import { searchPanelOpen } from '@codemirror/search' import { ToolbarButton } from '@/features/source-editor/components/toolbar/toolbar-button' import { EditorState } from '@codemirror/state' import { useTranslation } from 'react-i18next' import { isMac } from '@/shared/utils/os' export const ToggleSearchButton: FC<{ state: EditorState }> = ({ state }) => { const { t } = useTranslation() return ( ) }