mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
54 lines
1.1 KiB
Markdown
54 lines
1.1 KiB
Markdown
|
+++
|
||
|
# -----------------------------------------------------------------------
|
||
|
# Do not edit this file. It is automatically generated by API Documenter.
|
||
|
# -----------------------------------------------------------------------
|
||
|
title = "ButtonSelect"
|
||
|
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
||
|
type = "docs"
|
||
|
draft = true
|
||
|
+++
|
||
|
|
||
|
## ButtonSelect class
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare class ButtonSelect<T> extends PureComponent<Props<T>>
|
||
|
```
|
||
|
<b>Import</b>
|
||
|
|
||
|
```typescript
|
||
|
import { ButtonSelect } from '@grafana/ui';
|
||
|
```
|
||
|
<b>Properties</b>
|
||
|
|
||
|
| Property | Modifiers | Type | Description |
|
||
|
| --- | --- | --- | --- |
|
||
|
| [onChange](#onchange-property) | | <code>(item: SelectableValue<T>) => void</code> | |
|
||
|
|
||
|
<b>Methods</b>
|
||
|
|
||
|
| Method | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [render()](#render-method) | | |
|
||
|
|
||
|
### onChange property
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
onChange: (item: SelectableValue<T>) => void;
|
||
|
```
|
||
|
|
||
|
### render method
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
render(): JSX.Element;
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
`JSX.Element`
|
||
|
|