WHAT YOU'LL LEARN
  • What is exported from webiny/admin/env-config?
  • How to import and use each exported item?

Overview
anchor

This page documents everything exported from webiny/admin/env-config. Import any of the items below directly from this path in your Webiny extensions.

Components

Hooks

Components
anchor

EnvConfig
anchor

Constant — imported from webiny/admin/env-config

Hooks
anchor

useEnvConfig
anchor

Function — imported from webiny/admin/env-config

Returns the EnvConfig instance from DI. Useful when you want to access EnvConfig inside components and hooks.