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 50e01bb commit 0ee2945Copy full SHA for 0ee2945
.changeset/twenty-weeks-battle.md
@@ -0,0 +1,21 @@
1
+---
2
+'@primer/react': patch
3
4
+
5
+Surfaced the following components and hooks from the root index:
6
7
+- Portal
8
+- AnchoredOverlay
9
+- useFocusTrap
10
+- useFocusZone (and types)
11
+- sx (and types)
12
+- ConfirmationDialogProps
13
14
+These exports can now be imported from the root index, rather than from their nested subfolders.
15
16
+E.g.
17
18
+```diff
19
+- import { ConfirmationDialogProps } from '@primer/react/lib-esm/Dialog/ConfirmationDialog';
20
++ import { ConfirmationDialogProps } from '@primer/react';
21
+```
0 commit comments