mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
105 lines
2.1 KiB
Markdown
105 lines
2.1 KiB
Markdown
|
+++
|
||
|
# -----------------------------------------------------------------------
|
||
|
# Do not edit this file. It is automatically generated by API Documenter.
|
||
|
# -----------------------------------------------------------------------
|
||
|
title = "VizRepeater"
|
||
|
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
||
|
type = "docs"
|
||
|
draft = true
|
||
|
+++
|
||
|
|
||
|
## 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) | | |
|
||
|
|
||
|
### 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<V, D></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<V, D></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`
|
||
|
|