Skip to content

Commit

Permalink
feat: add feedback textarea description
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Sep 13, 2023
1 parent b8ae69f commit 14cebee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/containers/Modals/ReviewModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ export const ReviewModal: React.FC<ModalProps> = ({ opened, onClose }) => {
<Text align="center">How was your experience?</Text>
<Rating value={stars} onChange={setStars} my="lg" size="xl" mx="auto" />
<Textarea
description="You may include your mail in the feedback if you want us to contact you."
placeholder="Please provide feedback on how we can enhance the product and let us know which features you require."
value={review}
onChange={e => setReview(e.currentTarget.value)}
minLength={10}
maxLength={500}
minRows={5}
placeholder="Please provide feedback on how we can enhance the product and let us know which features you require."
/>
<Text align="right" size={12} color="dimmed">
500/{review.length}
Expand Down

0 comments on commit 14cebee

Please sign in to comment.