Skip to content

useConfig

Hook to get the current configuration, as defined in your provider.

Usage

 
import { useConfig } from "@hypergate/react";
 
export function App() {
  const 
const config: Config
config
= useConfig();
}