mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
docs(toast): update
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user