Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ButtonThemeProps

This is an interface of all the button's customizable theme props. This is mainly used if you want to add a button theme to another component and have it configurable via props.

Hierarchy

Index

Properties

buttonType?: ButtonType

This is the specific material design button type to use. This can either be set to "text" or "icon". When this is set to "text", the styles applied will make buttons with just text or text with icons render nicely. When this is set to "icon", the styles applied will make icon only buttons render nicely.

className?: string

An optional className to also apply to the button for additional theming and styling. This will be merged with the Button.theme class name styles.

disabled?: boolean

Enabling this prop will apply the disabled styles to a Button. When this is also applied to the button component, the button will be updated so that it can no longer be interacted with.

theme?: ButtonTheme

The material design theme to apply to the button. The theme prop will update the look and feel of the button by applying different background and/or foreground colors.

themeType?: ButtonThemeType

The material design theme type to apply. The themeTYpe prop will update the look and feel of the button by applying different border or box shadow.

Generated using TypeDoc