API Reference@grafana/ui › StyleProps

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;