import { Button } from '@langgenius/dify-ui/button' import { cn } from '@langgenius/dify-ui/cn' import { Kbd, KbdGroup } from '@langgenius/dify-ui/kbd' import { Tooltip, TooltipContent, TooltipTrigger } from '@langgenius/dify-ui/tooltip' import { RiArrowLeftSLine, RiArrowRightSLine } from '@remixicon/react' import { formatForDisplay } from '@tanstack/react-hotkeys' import * as React from 'react' import { useTranslation } from 'react-i18next' type ToggleTooltipContentProps = { expand: boolean } const TOGGLE_SHORTCUT = ['Mod', 'B'] const ToggleTooltipContent = ({ expand, }: ToggleTooltipContentProps) => { const { t } = useTranslation() return (