Skip to content

Commit

Permalink
"A container for the dialog contents."
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmoroz committed Nov 14, 2024
1 parent 6d4f6bc commit 3fa72d3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions docs/data/translations/api-docs/dialog-popup/dialog-popup.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"componentDescription": "A component that groups the dialog contents. Renders a `<div>` element.",
"componentDescription": "A container for the dialog contents. Renders a `<div>` element.",
"propDescriptions": {
"className": {
"description": "Class names applied to the element or a function that returns them based on the component&#39;s state."
},
"container": { "description": "The container element to which the popup is appended to." },
"container": {
"description": "The container element to which the popup is appended to."
},
"finalFocus": {
"description": "Determines an element to focus after the dialog is closed. If not provided, the focus returns to the trigger."
},
Expand All @@ -14,7 +16,9 @@
"keepMounted": {
"description": "If <code>true</code>, the dialog element is kept in the DOM when closed."
},
"render": { "description": "A function to customize rendering of the component." }
"render": {
"description": "A function to customize rendering of the component."
}
},
"classDescriptions": {}
}
2 changes: 1 addition & 1 deletion docs/reference/generated/dialog-popup.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DialogPopup",
"description": "A component that groups the dialog contents. Renders a `<div>` element.",
"description": "A container for the dialog contents. Renders a `<div>` element.",
"props": {
"className": {
"type": "string | (state) => string",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/src/Dialog/Popup/DialogPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const customStyleHookMapping: CustomStyleHookMapping<DialogPopup.OwnerState> = {
};

/**
* A component that groups the dialog contents. Renders a `<div>` element.
* A container for the dialog contents. Renders a `<div>` element.
*
* Demos:
*
Expand Down

0 comments on commit 3fa72d3

Please sign in to comment.