Skip to content

Commit ae6006e

Browse files
committed
Update props in readme
1 parent f08cdde commit ae6006e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ When Focus Trap is active, it will do several things:
3636

3737
| Name | Default | Description |
3838
| ---------- | --------------------- | ----------------------------------------------------- |
39-
| active | `false` | Should the FocusTrap render? |
39+
| active | `true` | Should the FocusTrap render? |
4040
| 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 |
41+
| onExit | `null` | Callback when escape or an outside click occurs |
4242
| element | `'div'` | The tag name of the inner container |
4343
| role | `'dialog'` | The aria role for the inner container |

0 commit comments

Comments
 (0)