Skip to content

Galaxy UI / useConfig

函数: useConfig()

useConfig(init?): ConfigContext

定义于: composables/use-config.ts:33

A composable function to access the configuration of the Galaxy UI components.

You can use useConfig instead of or in conjunction with a component.

参数

init?

Partial<ConfigContext>

Initial configuration for the components.

返回

ConfigContext

A reactive configuration object that can be used in components.