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

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
71 lines
1.3 KiB
Markdown
71 lines
1.3 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "StyleProps"
|
|
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## StyleProps interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface StyleProps
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { StyleProps } from '@grafana/ui';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [hasIcon](#hasicon-property) | <code>boolean</code> | |
|
|
| [hasText](#hastext-property) | <code>boolean</code> | |
|
|
| [size](#size-property) | <code>ComponentSize</code> | |
|
|
| [theme](#theme-property) | <code>GrafanaTheme</code> | |
|
|
| [variant](#variant-property) | <code>ButtonVariant</code> | |
|
|
|
|
### hasIcon property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
hasIcon: boolean;
|
|
```
|
|
|
|
### hasText property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
hasText: boolean;
|
|
```
|
|
|
|
### size property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
size: ComponentSize;
|
|
```
|
|
|
|
### theme property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
theme: GrafanaTheme;
|
|
```
|
|
|
|
### variant property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
variant: ButtonVariant;
|
|
```
|