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: packages/orbit-components/src/Modal/README.md
-1
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,6 @@ Table below contains all types of the props available in the Modal component.
36
36
| onClose |`event => void \| Promise`|| Function for handling onClose event. If you don't pass any function the Close button will not be displayed and it will not be possible to close the Modal. [See Functional specs](#functional-specs). |
37
37
| preventOverlayClose |`boolean`|| Property for preventing closing of modal when there is a action on overlay. BEWARE: This should be used only in very specials edge-cases! It breaks user experience. |
38
38
| hasCloseButton |`boolean`|`true`| Defines whether the Modal displays a close button. If you disable this, we recommend adding some kind of an alternative. |
39
-
| autoFocus |`boolean`|`true`| The autofocus attribute of the Modal, see [this docs](https://www.w3schools.com/tags/att_autofocus.asp). |
40
39
| disableAnimation |`boolean`|`false`| Defines whether the Modal performs the slide in animation on mobile. If you want to improve your [CLS](https://web.dev/cls/) score, you might want to set this to `true`. |
41
40
| mobileHeader |`boolean`|`true`| If `false` the ModalHeader will not have MobileHeader and CloseContainer. |
42
41
| labelClose |`string`|`Close`| The label for the close button. |
0 commit comments