Skip to content

Commit

Permalink
docs(feedback): add example with feedback.caption
Browse files Browse the repository at this point in the history
  • Loading branch information
matheushdsbr committed Nov 19, 2024
1 parent 5239d7f commit accd721
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/doc/content/components/components/feedback/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,22 @@ This screen can be used to give feedback to the user of success, information, or
</Box>
```

### With Caption

```javascript
<Box h={611} w="100%">
<Feedback
variant="success"
title="Welcome to Yoga, Feedback."
description="Enjoy your membership! Access thousands of gyms, studios and wellness app."
>
<Feedback.Caption>Caption description here</Feedback.Caption>
<Feedback.PrimaryButton>Ok</Feedback.PrimaryButton>
<Feedback.SecondaryButton>Cancel</Feedback.SecondaryButton>
</Feedback>
</Box>
```

### Only with primary button

```javascript
Expand Down

0 comments on commit accd721

Please sign in to comment.