Skip to content

Commit

Permalink
Expose useSlots from drafts (#3609)
Browse files Browse the repository at this point in the history
* Expose `useSlots` from `drafts/hooks`

* Create thin-laws-beam.md

* Update .changeset/thin-laws-beam.md

* Update .changeset/thin-laws-beam.md

* Update exports snapshot

---------

Co-authored-by: Siddharth Kshetrapal <[email protected]>
  • Loading branch information
iansan5653 and siddharthkp authored Aug 10, 2023
1 parent 94e8d38 commit f487a8d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/thin-laws-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@primer/react": patch
---

Expose `useSlots` from `drafts/hooks`

<!-- Changed components: _none_ -->
1 change: 1 addition & 0 deletions src/__tests__/__snapshots__/exports.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ exports[`@primer/react/drafts should not update exports without a semver change
"useDynamicTextareaHeight",
"useIgnoreKeyboardActionsWhileComposing",
"useSafeAsyncCallback",
"useSlots",
"useSyntheticChange",
]
`;
1 change: 1 addition & 0 deletions src/drafts/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export * from './useDynamicTextareaHeight'
export * from './useIgnoreKeyboardActionsWhileComposing'
export * from './useSafeAsyncCallback'
export * from './useSyntheticChange'
export * from '../../hooks/useSlots'

0 comments on commit f487a8d

Please sign in to comment.