Menu

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.

Enterprise Open source

VizRepeater class

Signature

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

Import

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

Constructors

ConstructorModifiersDescription
constructor(props)Constructs a new instance of the VizRepeater class

Properties

PropertyModifiersTypeDescription
defaultPropsstaticDefaultProps

Methods

MethodModifiersDescription
componentDidUpdate(prevProps)
getOrientation()
render()
renderGrid()

constructor(props)

Constructs a new instance of the VizRepeater class

Signature

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

Parameters

ParameterTypeDescription
propsProps<V, D>

defaultProps property

Signature

typescript
static defaultProps: DefaultProps;

componentDidUpdate method

Signature

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

Parameters

ParameterTypeDescription
prevPropsProps<V, D>

Returns:

void

getOrientation method

Signature

typescript
getOrientation(): VizOrientation;

Returns:

VizOrientation

render method

Signature

typescript
render(): JSX.Element;

Returns:

JSX.Element

renderGrid method

Signature

typescript
renderGrid(): JSX.Element;

Returns:

JSX.Element