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.
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