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;