All files / src/components/features/product/Reviews index.tsx

100% Statements 34/34
100% Branches 0/0
0% Functions 0/6
100% Lines 34/34

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 351x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
/**
 * Product Reviews Components
 *
 * A complete reviews system for product pages including:
 * - ReviewList: Display reviews with stats and pagination
 * - ReviewCard: Individual review display
 * - ReviewForm: Submit new reviews
 *
 * @example
 * ```tsx
 * import { ReviewSection } from '@/components/features/product/Reviews';
 *
 * // Full reviews section with form
 * <ReviewSection productId={123} />
 *
 * // Or use individual components
 * import { ReviewList, ReviewForm } from '@/components/features/product/Reviews';
 * <ReviewList productId={123} />
 * <ReviewForm productId={123} onSuccess={refetch} />
 * ```
 */
 
export { ReviewList, ReviewListSkeleton } from './ReviewList';
export type { ReviewListProps, ReviewStats } from './ReviewList';
 
export { ReviewCard, ReviewCardSkeleton } from './ReviewCard';
export type { ReviewCardProps, ReviewData, ReviewUser } from './ReviewCard';
 
export { ReviewForm } from './ReviewForm';
export type { ReviewFormProps } from './ReviewForm';
 
// Convenience component that combines list and form
export { ReviewSection } from './ReviewSection';
export type { ReviewSectionProps } from './ReviewSection';