docs: update badges

This commit is contained in:
Benjamin Canac
2024-06-13 11:29:39 +02:00
parent b6736d1efd
commit 1e7470f531
11 changed files with 13 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ Set the `fullscreen` prop to `true` to enable it.
:component-example{component="modal-example-fullscreen"}
### Control programmatically :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
### Control programmatically
First of all, add the `Modals` component to your app, preferably inside `app.vue`.
@@ -85,7 +85,7 @@ Then, you can use the `useModal` composable to control your modals within your a
:component-example{component="modal-example-component" hiddenPreview label="modal.vue" }
::
Additionally, you can close the modal within the modal component by calling `modal.close()`.
Additionally, you can close the modal within the modal component by calling `modal.close()`.
## Props