import { Tooltip, Button, Space } from 'antd';
import { ReloadOutlined, DeleteOutlined } from '@ant-design/icons';

const OutputActionPanel: React.FC = () => (
    <Space>
        <Tooltip title="重试">
            <Button
                type="text"
                icon={<ReloadOutlined />}
                aria-label="重试"
            />
        </Tooltip>
        <Tooltip title="删除">
            <Button
                type="text"
                icon={<DeleteOutlined />}
                aria-label="删除"
                danger
            />
        </Tooltip>
    </Space>
);

export default OutputActionPanel;