Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
VizLayoutProps interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature
export interface VizLayoutProps
Import
import { VizLayoutProps } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
children | (width: number, height: number) => React.ReactNode | (BETA) |
height | number | (BETA) |
legend | React.ReactElement<VizLayoutLegendProps> | null | (BETA) |
width | number | (BETA) |
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
children property
Signature
children: (width: number, height: number) => React.ReactNode;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
height property
Signature
height: number;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
legend property
Signature
legend?: React.ReactElement<VizLayoutLegendProps> | null;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
width property
Signature
width: number;