[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / environmentIndicator

# Function: environmentIndicator()

> **environmentIndicator**(`options?`): [`RenderHook`](../type-aliases/RenderHook)

Defined in: [admin/src/ui/environmentIndicator.tsx:39](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/ui/environmentIndicator.tsx#L39)

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`](../interfaces/EnvironmentIndicatorOptions) = `{}`

## Returns

[`RenderHook`](../type-aliases/RenderHook)
