mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 07:52:21 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
34 lines
925 B
Markdown
34 lines
925 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "RefreshPicker"
|
|
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## RefreshPicker variable
|
|
|
|
### RefreshPicker variable
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
RefreshPicker: React.FunctionComponent<Pick<Props, "value" | "tooltip" | "intervals" | "onRefresh" | "onIntervalChanged" | "hasLiveOption" | "refreshButton" | "buttonSelectClassName">> & {
|
|
offOption: {
|
|
label: string;
|
|
value: string;
|
|
};
|
|
liveOption: {
|
|
label: string;
|
|
value: string;
|
|
};
|
|
isLive: (refreshInterval?: string | undefined) => boolean;
|
|
}
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { RefreshPicker } from '@grafana/ui';
|
|
```
|