mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Fix gdev dashboard * API for declarative Axis, Series and Scales configuration * Bring back time zone change support * Update tests and fix type errors * Review comments and fixes
14 lines
347 B
TypeScript
14 lines
347 B
TypeScript
import React from 'react';
|
|
import { getLineConfig } from './configGetters';
|
|
import { useSeriesGeometry } from './SeriesGeometry';
|
|
import { LineProps } from './types';
|
|
|
|
export const Line: React.FC<LineProps> = props => {
|
|
const getConfig = () => getLineConfig(props);
|
|
useSeriesGeometry(getConfig);
|
|
|
|
return null;
|
|
};
|
|
|
|
Line.displayName = 'Line';
|