Skip to content

Commit

Permalink
fix notes
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Nov 17, 2024
1 parent 0a8b55a commit 4fcc98e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/vike-react-chakra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
extends: [vikeReact, vikeReactChakra]
}
```
> [!NOTE]
> The `vike-react-chakra` extension requires [`vike-react`](https://vike.dev/vike-react).
> [!NOTE]
> The extension does only one thing: it adds [a Wrapper](https://github.com/vikejs/vike-react/blob/main/packages/vike-react-chakra/Wrapper.tsx) to your pages.
3. That's it, you can now use Chakra at any of your components.
```jsx
import { HStack, Button } from '@chakra-ui/react'
Expand All @@ -38,8 +34,15 @@
}
```

> [!NOTE]
> The `vike-react-chakra` extension requires [`vike-react`](https://vike.dev/vike-react).
> [!NOTE]
> The extension does only one thing: it adds [a Wrapper](https://github.com/vikejs/vike-react/blob/main/packages/vike-react-chakra/Wrapper.tsx) to your pages.
<br/>


## Settings

`vike-react-chakra` provides a configuration `+chakra` for setting the theme system and locale.
Expand Down

0 comments on commit 4fcc98e

Please sign in to comment.