import React from 'react'; import { SpeedDial, SpeedDialAction } from '@mui/material'; import { Dashboard as DashboardIcon, Search as TestIcon, Settings as ConfigIcon, ListAlt as OverviewIcon, } from '@mui/icons-material'; import { useTranslation } from 'react-i18next'; interface FloatingActionButtonsProps { onTestClick: () => void; onConfigClick: () => void; onOverviewClick: () => void; } const FloatingActionButtons: React.FC = ({ onTestClick, onConfigClick, onOverviewClick, }) => { const { t } = useTranslation(); const actions = [ { icon: , name: t('knowledge.retrievalTest'), onClick: onTestClick, }, { icon: , name: t('knowledge.configSettings'), onClick: onConfigClick, }, // { // icon: , // name: t('knowledgeDetails.overview'), // onClick: onOverviewClick, // }, ]; return ( } > {actions.map((action) => ( ))} ); }; export default FloatingActionButtons;