Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

docs:snippet update on createStyleContext usage #1541

Merged

Conversation

Riley1101
Copy link
Contributor

Closes #1535 #1522

📝 Description

Snippet update on usage of createStyleContext in docs.

⛳️ Current behavior (updates)

Currently in the documentation useStyles is imported directly from @chakra-ui/react which causes StylesProvider not found by useStyles() when using Styling multipart components.

🚀 New behavior

useStyles is now documented to be imported from createStylesContext.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

@vercel
Copy link

vercel bot commented Apr 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
chakra-ui-docs ✅ Ready (Inspect) Visit Preview May 1, 2023 9:12pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StylesProvider not found by useStyles() when using Styling multipart components
2 participants