Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / environmentIndicator

Function: environmentIndicator()

environmentIndicator(options?): RenderHook

Defined in: admin/src/ui/environmentIndicator.tsx:39

A render hook drawing a strip across the top of the panel naming the environment.

Panel.renderHook("body.start", environmentIndicator());

Returns null in the quiet environments, so registering it unconditionally is the intended usage — there is nothing to switch off per environment.

Parameters

options?

EnvironmentIndicatorOptions = {}

Returns

RenderHook