mirror of https://github.com/grafana/grafana
parent
682c792dfb
commit
70c808130f
@ -0,0 +1,23 @@ |
||||
import React, { Component, ComponentClass } from 'react'; |
||||
import _ from 'lodash'; |
||||
|
||||
export interface Props { |
||||
type: string; |
||||
queries: Query[]; |
||||
} |
||||
|
||||
interface State { |
||||
isLoading: boolean; |
||||
timeSeries: TimeSeriesServerResponse[]; |
||||
} |
||||
|
||||
export interface OriginalProps { |
||||
data: TimeSeriesServerResponse[]; |
||||
isLoading: boolean; |
||||
} |
||||
|
||||
const DataPanel = (ComposedComponent: ComponentClass<OriginalProps & Props>) => { |
||||
class Wrapper extends Component<Props, State> {} |
||||
|
||||
return Wrapper; |
||||
}; |
Loading…
Reference in new issue