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.
StyleProps interface
Signature
export interface StyleProps
Import
import { StyleProps } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
hasIcon | boolean | |
hasText | boolean | |
size | ComponentSize | |
theme | GrafanaTheme | |
variant | ButtonVariant |
hasIcon property
Signature
hasIcon: boolean;
hasText property
Signature
hasText: boolean;
size property
Signature
size: ComponentSize;
theme property
Signature
theme: GrafanaTheme;
variant property
Signature
variant: ButtonVariant;