Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

useConfig

Usage

import { useConfig } from '@ivem/kit-react'
 
const config = useConfig()

Parameters

  • None

Return Type

  • Config

Examples

function DebugConfig() {
  const config = useConfig()
  return <pre>{JSON.stringify(config.state, null, 2)}</pre>
}

Related