/**
 * Memoized Ride Card Component
 * Optimized for grid rendering performance
 */

import React from 'react';
import { RideCard } from './RideCard';
import type { Ride } from '@/types/database';

interface RideCardMemoProps {
  ride: Ride;
  showParkName?: boolean;
  className?: string;
  parkSlug?: string;
}

export const RideCardMemo = React.memo<RideCardMemoProps>(RideCard);

RideCardMemo.displayName = 'RideCardMemo';
