TimezoneIndicator()
Home > @gooddata/sdk-ui-dashboard > TimezoneIndicator
TimezoneIndicator() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Read-only indicator of the time zone effective on the dashboard, shown in the top bar.
The badge label is the friendly timezone name only (e.g. "Prague"); the hover tooltip shows a generic "Time zone" label. The full timezone info is available via ITimezoneIndicatorProps.timezone for custom renderings. Screen readers get an sr-only "Time zone: " prefix instead of the tooltip.
Signature:
export declare function TimezoneIndicator(input: ITimezoneIndicatorProps): ReactElement | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ timezoneConfig, defaultTimezone, timezone } |
(not declared) | |
|
input |
Returns:
ReactElement | null