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
Dialog2 no longer accepts styled-system props. Please use the `sx` prop to extend Primer component styling instead. See also https://primer.style/react/overriding-styles for information about `sx` and https://primer.style/react/system-props for context on the removal.
Copy file name to clipboardExpand all lines: docs/content/Dialog2.mdx
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ By default, the Dialog component implements the design and interactions defined
87
87
| role |`"dialog" │ "alertdialog"`|`"dialog"`| The ARIA role given to the dialog element. More info: [dialog](https://www.w3.org/TR/wai-aria-practices-1.1/#dialog_modal), [alertdialog](https://www.w3.org/TR/wai-aria-practices-1.1/#alertdialog)|
88
88
| width |`"small" │ "medium" │ "large" │ "xlarge"`|`"xlarge"`| The fixed width of the dialog. |
89
89
| height |`"small" │ "large" │ "auto"`|`"auto"`| The fixed height of the dialog, or, auto to adjust the height based on its contents. |
90
+
| sx | SystemStyleObject |{}| Style to be applied to the component |
0 commit comments