Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fix page for modal documentation (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysterious-Dev authored Nov 11, 2023
1 parent 39a4297 commit fd82ec7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/components/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
<DemoContainer>
<Button :action="() => this.$refs.reportModal.show()">Show Report Modal</Button>
<Button :action="() => this.$refs.confirmModal.show()">Show Confirm Modal</Button>
<ModalReport
<ReportModal
ref="reportModal"
itemType="project"
:reportTypes="['cringitude', 'rudeness', 'notgamer', 'windowsuser']"
>
</ModalReport>
<ModalConfirm
</ReportModal>
<ConfirmModal
ref="confirmModal"
title="Are you sure you want to delete this version?"
description="This will remove this version forever (like really forever)."
:has-to-type="true"
proceed-label="Delete"
confirmationText="Hello"
>
</ModalConfirm>
</ConfirmModal>
</DemoContainer>
:::

```vue
<Button :action="() => this.$refs.reportModal.modal.show()">Show Modal</Button>
<ModalReport
<ReportModal
ref="reportModal"
itemType="project"
:reportTypes="['cringitude', 'rudeness', 'notgamer', 'windowsuser']"
Expand Down

0 comments on commit fd82ec7

Please sign in to comment.