The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/ui/vizrepeater.md

115 lines
2.3 KiB

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "VizRepeater"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## VizRepeater class
<b>Signature</b>
```typescript
export declare class VizRepeater<V, D = {}> extends PureComponent<Props<V, D>, State<V>>
```
<b>Import</b>
```typescript
import { VizRepeater } from '@grafana/ui';
```
<b>Constructors</b>
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [constructor(props)](#constructor-props) | | Constructs a new instance of the <code>VizRepeater</code> class |
<b>Properties</b>
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [defaultProps](#defaultprops-property) | <code>static</code> | <code>DefaultProps</code> | |
<b>Methods</b>
| Method | Modifiers | Description |
| --- | --- | --- |
| [componentDidUpdate(prevProps)](#componentdidupdate-method) | | |
| [getOrientation()](#getorientation-method) | | |
| [render()](#render-method) | | |
| [renderGrid()](#rendergrid-method) | | |
### constructor(props)
Constructs a new instance of the `VizRepeater` class
<b>Signature</b>
```typescript
constructor(props: Props<V, D>);
```
<b>Parameters</b>
| Parameter | Type | Description |
| --- | --- | --- |
| props | <code>Props&lt;V, D&gt;</code> | |
### defaultProps property
<b>Signature</b>
```typescript
static defaultProps: DefaultProps;
```
### componentDidUpdate method
<b>Signature</b>
```typescript
componentDidUpdate(prevProps: Props<V, D>): void;
```
<b>Parameters</b>
| Parameter | Type | Description |
| --- | --- | --- |
| prevProps | <code>Props&lt;V, D&gt;</code> | |
<b>Returns:</b>
`void`
### getOrientation method
<b>Signature</b>
```typescript
getOrientation(): VizOrientation;
```
<b>Returns:</b>
`VizOrientation`
### render method
<b>Signature</b>
```typescript
render(): JSX.Element;
```
<b>Returns:</b>
`JSX.Element`
### renderGrid method
<b>Signature</b>
```typescript
renderGrid(): JSX.Element;
```
<b>Returns:</b>
`JSX.Element`