Skip to content

How to use the State component used in the Details and useDetails documentation? #1423

Answered by colebemis
KrychuTM asked this question in Q&A
Discussion options

You must be logged in to vote

That component was made for documentation purposes and isn't intended to be used in application code. If you want to use it in your app, you can copy the code from here: https://github.com/primer/react/blob/main/docs/components/State.js

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KrychuTM
Comment options

Answer selected by KrychuTM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants