useConfig
The useConfig
function is a React hook that returns your theme configuration defined in the theme.config.js
file.
Usage
import { useConfig } from 'builderoo';
const config = useConfig()
Returns
an object with your theme config values.
Learn more about this hook in theme.config.js.