Files
Marcus Andersson cc3fc18076 Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

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;
```