Skip to content

Inquiry about useSlots functionality in GitHub Primer #4570

Answered by lesliecdubs
RebecaLiz asked this question in General
Discussion options

You must be logged in to vote

Hi there! Primer's usage of slots tends to be internal-facing so there's no public API or docs. You can check out the tests https://github.com/primer/react/blob/main/packages/react/src/hooks/__tests__/useSlots.test.tsx#L98 which might offer some insight.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lesliecdubs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants