import type { App, AppSSO } from '@/types/app' import { cn } from '@langgenius/dify-ui/cn' import { RiEqualizer2Line } from '@remixicon/react' import * as React from 'react' import { useTranslation } from 'react-i18next' import AppIcon from '../../base/app-icon' import { getAppModeLabel } from './app-mode-labels' type AppInfoTriggerProps = { appDetail: App & Partial expand: boolean onClick: () => void } const AppInfoTrigger = ({ appDetail, expand, onClick }: AppInfoTriggerProps) => { const { t } = useTranslation() const modeLabel = getAppModeLabel(appDetail.mode, t) return ( ) } export default React.memo(AppInfoTrigger)