Skip to content

Commit

Permalink
plugin(feedback): update Feedback Plugin README.md file to include En…
Browse files Browse the repository at this point in the history
…tityFeedbackPage component (#1168)

* update README.md file to include EntityFeedbackPage component declaration
* add changeset
* run prettier

Signed-off-by: Fortune-Ndlovu <[email protected]>
  • Loading branch information
Fortune-Ndlovu authored Sep 4, 2024
1 parent 1082730 commit 808ba0b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions workspaces/feedback/.changeset/flat-points-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@backstage-community/plugin-feedback': patch
---

chore(docs-update) update Feedback Plugin README.md file to include EntityFeedbackPage component
7 changes: 5 additions & 2 deletions workspaces/feedback/plugins/feedback/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,15 @@ It is dedicated to simplifying the process of gathering and managing user feedba
)
```

5. Add `EntityFeedbackPage` component to the **Component page, Api page** in `src/components/catalog/EntityPage.tsx`.
5. Import the `EntityFeedbackPage` component and add it to the **Component page, Api page** in `src/components/catalog/EntityPage.tsx`.

```ts
import { EntityFeedbackPage } from '@backstage-community/plugin-feedback';
// ...
<EntityLayout.Route path="/feedback" title="Feedback">
<EntityFeedbackPage />
</EntityLayout.Route>
</EntityLayout.Route>;
```
### Annotations
Expand Down

0 comments on commit 808ba0b

Please sign in to comment.