We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f08cdde commit ae6006eCopy full SHA for ae6006e
README.md
@@ -36,8 +36,8 @@ When Focus Trap is active, it will do several things:
36
37
| Name | Default | Description |
38
| ---------- | --------------------- | ----------------------------------------------------- |
39
-| active | `false` | Should the FocusTrap render? |
+| active | `true` | Should the FocusTrap render? |
40
| className | `'focus-trap` | The class of the inner container that maintains focus |
41
-| onExit | `null (but required)` | Callback when escape or an outside click occurs |
+| onExit | `null` | Callback when escape or an outside click occurs |
42
| element | `'div'` | The tag name of the inner container |
43
| role | `'dialog'` | The aria role for the inner container |
0 commit comments