Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explicit type declaration to
ChakraProvider.defaultProps
(#6464)
* fix(chakra-provider): ensure typed declaration for `ChakraProvider.defaultProps` * docs: update changesets * refactor: move logic for default theme inside `ChakraProvider` component * docs: revise changeset * refactor: code Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
- Loading branch information
1 parent
597966e
commit b735aae
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@chakra-ui/react": minor | ||
--- | ||
|
||
Remove `ChakraProvider.defaultProps` and move logic inside the component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b735aae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
chakra-ui-storybook – ./
chakra-ui-storybook-git-main-chakra-ui.vercel.app
chakra-ui-storybook.vercel.app
chakra-ui-storybook-chakra-ui.vercel.app
storybook.chakra-ui.com