Skip to content

Commit fea0939

Browse files
authored
docs(Modals): remove outdated information (#6976)
1 parent 76523ce commit fea0939

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/main/src/components/Modals/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ function ModalComponent({ modal }: { modal: IModal }) {
245245
*
246246
* **In order to use these helpers, please make sure to render the `Modals` component somewhere in your application tree.**
247247
*
248-
* __Note:__ The `Toast` component does not currently use the [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API), which may cause issues like incorrect positioning or alignment. If that's the case, please mount the `Modals` component after all other components, or define a custom container via the `container` parameter.
249-
*
250248
* @since 0.22.2
251249
*/
252250
export function Modals() {
@@ -273,7 +271,4 @@ Modals.showPopover = showPopoverFn;
273271
Modals.showResponsivePopover = showResponsivePopoverFn;
274272
Modals.showMenu = showMenuFn;
275273
Modals.showMessageBox = showMessageBoxFn;
276-
/**
277-
* __Note:__ The `Toast` component does not currently use the [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API), which may cause issues like incorrect positioning or alignment. If that's the case, please mount the `Modals` component after all other components, or define a custom container via the `container` parameter.
278-
*/
279274
Modals.showToast = showToastFn;

0 commit comments

Comments
 (0)