grafana/docs/sources/packages_api/ui/token.md

83 lines
1.6 KiB
Markdown
Raw Normal View History

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "Token"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## Token interface
<b>Signature</b>
```typescript
export interface Token
```
<b>Import</b>
```typescript
import { Token } from '@grafana/ui';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [aliases](#aliases-property) | <code>string[]</code> | |
| [content](#content-property) | <code>string</code> | |
| [next](#next-property) | <code>Token &#124; null</code> | |
| [offsets](#offsets-property) | <code>{</code><br/><code> start: number;</code><br/><code> end: number;</code><br/><code> }</code> | |
| [prev](#prev-property) | <code>Token &#124; null</code> | |
| [types](#types-property) | <code>string[]</code> | |
### aliases property
<b>Signature</b>
```typescript
aliases: string[];
```
### content property
<b>Signature</b>
```typescript
content: string;
```
### next property
<b>Signature</b>
```typescript
next?: Token | null;
```
### offsets property
<b>Signature</b>
```typescript
offsets?: {
start: number;
end: number;
};
```
### prev property
<b>Signature</b>
```typescript
prev?: Token | null;
```
### types property
<b>Signature</b>
```typescript
types: string[];
```