API Reference@grafana/ui › VizRepeater

VizRepeater class

Signature

export declare class VizRepeater<V, D = {}> extends PureComponent<Props<V, D>, State<V>> 

Import

import { VizRepeater } from '@grafana/ui';

Constructors

Constructor Modifiers Description
constructor(props) Constructs a new instance of the VizRepeater class

Properties

Property Modifiers Type Description
defaultProps static DefaultProps

Methods

Method Modifiers Description
componentDidUpdate(prevProps)
getOrientation()
render()
renderGrid()

constructor(props)

Constructs a new instance of the VizRepeater class

Signature

constructor(props: Props<V, D>);

Parameters

Parameter Type Description
props Props<V, D>

defaultProps property

Signature

static defaultProps: DefaultProps;

componentDidUpdate method

Signature

componentDidUpdate(prevProps: Props<V, D>): void;

Parameters

Parameter Type Description
prevProps Props<V, D>

Returns:

void

getOrientation method

Signature

getOrientation(): VizOrientation;

Returns:

VizOrientation

render method

Signature

render(): JSX.Element;

Returns:

JSX.Element

renderGrid method

Signature

renderGrid(): JSX.Element;

Returns:

JSX.Element