We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to vitepress, I would like the hooks, example useConfig to be expose to take advantage in custom components.
useConfig
Here's an example of what I'm proposing.
File: ./components/MyCustomHeroSection.tsx
./components/MyCustomHeroSection.tsx
import { useConfig } from 'vocs/hooks'; const MyCustomHeroSection = () => { const config = useConfig()' return <section> <h1>{config?.title ?? ''}</h1> </section> }
The text was updated successfully, but these errors were encountered:
feat: Exposes Vocs Hooks
909f6c6
Initial useConfig exposed with example application in playgrounds/custom-layout BREAKING CHANGE: No Closes: wevm#124
Successfully merging a pull request may close this issue.
Context
Similar to vitepress, I would like the hooks, example
useConfig
to be expose to take advantage in custom components.Proposal
Here's an example of what I'm proposing.
File:
./components/MyCustomHeroSection.tsx
The text was updated successfully, but these errors were encountered: