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.
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