UNPKG

@grafana/ui

Version:

Grafana Components Library

19 lines (18 loc) 564 B
import { PureComponent } from 'react'; import { SelectOptionItem } from '../Select/Select'; export declare function getIntervalFromString(strInterval: string): SelectOptionItem<number>; interface Props { func: () => any; loading: boolean; interval: string; } export declare class SetInterval extends PureComponent<Props> { private propsSubject; private subscription; constructor(props: Props); componentDidMount(): void; componentDidUpdate(prevProps: Props): void; componentWillUnmount(): void; render(): null; } export {};