Testimonial

A testimonial is a third-party statement that comments on how good someone or something is.

Preview

Usage

npm i react-hartan

Customization With Props

  • review -> Accepts a string value, used as the review content.

  • reviewerName -> Accepts a string value, used as the reviewer's name.

  • reviewerPosition -> Accepts a string value, used as the reviewer's designation.

  • id -> The id prop is similar to the id attribute in HTML. It allows to provide overall component id.

  • userTestimonialStyle -> Accepts class name(s) as string, custom styling prop for the testimonial section container.

  • userReviewStyle -> Accepts class name(s) as string, custom styling prop for the container containing the review content.

  • userReviewerStyle -> Accepts class name(s) as string, custom styling prop for the container containing reviewer name and designation.

Component Code

This is the code for the Testimonial component.

Last updated