import React from 'react'; import { SpeedDial, SpeedDialAction } from '@mui/material'; import { Settings as SettingsIcon, Search as TestIcon, Settings as ConfigIcon, } from '@mui/icons-material'; interface FloatingActionButtonsProps { onTestClick: () => void; onConfigClick: () => void; } const FloatingActionButtons: React.FC = ({ onTestClick, onConfigClick, }) => { const actions = [ { icon: , name: '检索测试', onClick: onTestClick, }, { icon: , name: '配置设置', onClick: onConfigClick, }, ]; return ( } > {actions.map((action) => ( ))} ); }; export default FloatingActionButtons;