Files
Marcus Andersson cc3fc18076 Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

116 lines
2.3 KiB
Markdown

+++
# -----------------------------------------------------------------------
# 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`