Skip to content

Commit

Permalink
feat(ProductTitle): change default value of reviewsCountText
Browse files Browse the repository at this point in the history
  • Loading branch information
artursantiago authored and Guilera committed Feb 18, 2025
1 parent 08135dc commit 3ab33ce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ export interface ProductTitleProps
*/
reviewsSectionId?: string
/**
* Default text for "No reviews yet".
* @default "No reviews yet".
*/
noReviewsText?: string
/**
* Default text for "X Reviews".
* @default "X reviews".
*/
reviewsCountText?: string
}
Expand All @@ -59,7 +59,7 @@ const ProductTitle = forwardRef<HTMLElement, ProductTitleProps>(
reviewsCount,
reviewsSectionId,
noReviewsText = 'No reviews yet',
reviewsCountText = 'Reviews',
reviewsCountText = 'reviews',
...otherProps
},
ref
Expand Down

0 comments on commit 3ab33ce

Please sign in to comment.