ReviewSubmitForm

Domain

Composable submit form: interactive StarRating, optional title input, textarea with min-length validation, submit button.

Default

Preview

Write a review

Share your experience to help other people.

Overall rating(required)

At least 10 characters.

Code
<ReviewSubmitForm onSubmit={(d) => save(d)} />

Custom labels — hotel review

Preview

Share your stay

Share your experience to help other people.

Overall rating(required)

At least 10 characters.

Code
<ReviewSubmitForm
  title="Share your stay"
  submitLabel="Post review"
/>
Sourcemodules/domains/reviews/ReviewSubmitForm.tsx