Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Token interface
Signature
export interface Token
Import
import { Token } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
aliases | string[] | |
content | string | |
next | Token | null | |
offsets | { start: number; end: number; } | |
prev | Token | null | |
types | string[] |
aliases property
Signature
aliases: string[];
content property
Signature
content: string;
next property
Signature
next?: Token | null;
offsets property
Signature
offsets?: {
start: number;
end: number;
};
prev property
Signature
prev?: Token | null;
types property
Signature
types: string[];