mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
feat: add feedback textarea description
This commit is contained in:
parent
b8ae69f79b
commit
14cebeebe5
@ -35,12 +35,13 @@ export const ReviewModal: React.FC<ModalProps> = ({ opened, onClose }) => {
|
|||||||
<Text align="center">How was your experience?</Text>
|
<Text align="center">How was your experience?</Text>
|
||||||
<Rating value={stars} onChange={setStars} my="lg" size="xl" mx="auto" />
|
<Rating value={stars} onChange={setStars} my="lg" size="xl" mx="auto" />
|
||||||
<Textarea
|
<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}
|
value={review}
|
||||||
onChange={e => setReview(e.currentTarget.value)}
|
onChange={e => setReview(e.currentTarget.value)}
|
||||||
minLength={10}
|
minLength={10}
|
||||||
maxLength={500}
|
maxLength={500}
|
||||||
minRows={5}
|
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">
|
<Text align="right" size={12} color="dimmed">
|
||||||
500/{review.length}
|
500/{review.length}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user