25 lines
506 B
TypeScript
25 lines
506 B
TypeScript
'use client';
|
|
|
|
import { ErrorActionButtons } from '@/ui/ErrorActionButtons';
|
|
import React from 'react';
|
|
|
|
interface ErrorRecoveryActionsProps {
|
|
onRetry: () => void;
|
|
onHome: () => void;
|
|
}
|
|
|
|
/**
|
|
* ErrorRecoveryActions
|
|
*
|
|
* Semantic component for error recovery buttons.
|
|
* Follows "Precision Racing Minimal" theme.
|
|
*/
|
|
export function ErrorRecoveryActions({ onRetry, onHome }: ErrorRecoveryActionsProps) {
|
|
return (
|
|
<ErrorActionButtons
|
|
onRetry={onRetry}
|
|
onGoHome={onHome}
|
|
/>
|
|
);
|
|
}
|