-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b757423
commit 0f8a500
Showing
4 changed files
with
118 additions
and
102 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,22 @@ | ||
--- | ||
"@chakra-ui/css-reset": minor | ||
"@chakra-ui/provider": minor | ||
"@chakra-ui/theme": minor | ||
--- | ||
|
||
Add support for scoping the css reset to specific selector. | ||
|
||
To use this feature, pass the `resetScope` prop to the `ChakraProvider` or | ||
`ChakraBaseProvider` component. | ||
|
||
```jsx live=false | ||
import { ChakraProvider } from "@chakra-ui/react" | ||
|
||
function App() { | ||
return ( | ||
<ChakraProvider resetScope=".ck-reset"> | ||
<App /> | ||
</ChakraProvider> | ||
) | ||
} | ||
``` |
Oops, something went wrong.
0f8a500
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