You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/popup.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar_label: Popup
6
6
7
7
## Overview
8
8
9
-
The `Popup` component is a versatile React component designed to display popup windows with customizable options for animations, auto-close behavior, and various close mechanisms. It supports nested children and can be controlled programmatically via a ref.
9
+
The `Popup` component is a higher-order React component designed to manage and display popup windows. It extends the `PopupContainer` component functionality by providing a container that handles rendering within a specified DOM element (defaulting to a `div` with the ID `popup-root`). This component offers additional customization for backdrops and integrates various popup properties for a seamless user experience.
Copy file name to clipboardExpand all lines: docs/docs/popupContainer.md
+1-55Lines changed: 1 addition & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar_label: PopupContainer
6
6
7
7
## Overview
8
8
9
-
The `PopupContainer` component is a higher-order React component designed to manage and display popup windows. It extends the `Popup` component functionality by providing a container that handles rendering within a specified DOM element (defaulting to a `div` with the ID `popup-root`). This component offers additional customization for backdrops and integrates various popup properties for a seamless user experience.
9
+
The `PopupContainer` component is a versatile React component designed to display popup windows with customizable options for animations, auto-close behavior, and various close mechanisms. It supports nested children and can be controlled programmatically via a ref.
10
10
11
11
## Props
12
12
@@ -27,60 +27,6 @@ The `PopupContainer` component is a higher-order React component designed to man
27
27
|`duration`|`number`|`300`| Duration of the animation in milliseconds. |
28
28
|`popupClassName`|`string`| N/A | Additional class names for the popup element. |
29
29
30
-
### Default Props
31
-
32
-
The `PopupContainer` component merges these default properties with the user-provided props:
0 commit comments