interface Props { attempt: number maxAttempts?: number } export function NetworkRetry({ attempt, maxAttempts = 5 }: Props) { return (