+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "StyleProps" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++ ## StyleProps interface Signature ```typescript export interface StyleProps ``` Import ```typescript import { StyleProps } from '@grafana/ui'; ``` Properties | Property | Type | Description | | --- | --- | --- | | [hasIcon](#hasicon-property) | boolean | | | [hasText](#hastext-property) | boolean | | | [size](#size-property) | ComponentSize | | | [theme](#theme-property) | GrafanaTheme | | | [variant](#variant-property) | ButtonVariant | | ### hasIcon property Signature ```typescript hasIcon: boolean; ``` ### hasText property Signature ```typescript hasText: boolean; ``` ### size property Signature ```typescript size: ComponentSize; ``` ### theme property Signature ```typescript theme: GrafanaTheme; ``` ### variant property Signature ```typescript variant: ButtonVariant; ```