docs(toast): update

This commit is contained in:
Benjamin Canac
2024-09-04 11:36:05 +02:00
parent e91cba741c
commit 7c18232932
5 changed files with 63 additions and 8 deletions

View File

@@ -281,7 +281,7 @@ This allows you to move the trigger outside of the Modal or remove it entirely.
You can use the `useModal` composable to open a Modal programatically.
::important
Make sure to wrap your app with the [`App`](/components/app) component that instantiates the `ModalProvider` component.
Make sure to wrap your app with the [`App`](/components/app) component which uses the [`ModalProvider`](https://github.com/benjamincanac/ui3/blob/dev/src/runtime/components/ModalProvider.vue) component.
::
First, create a modal component that will be opened programatically: