Skip to content

Commit 0ee2945

Browse files
committed
add changeset
1 parent 50e01bb commit 0ee2945

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.changeset/twenty-weeks-battle.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)