ToolbarButton

A toolbar button with optional label. Use these in your AppBar. All additonal props are spread to the underlying material-ui IconButton.

Import
import ToolbarButton from 'react-storefront/ToolbarButton'

Props

NameTypeDefaultDescription
iconelement

The icon

labelunion : string |
element

The label text (optional)

CSS API

You can override all the class names injected by Moov-PWA thanks to the classes property. This property accepts the following keys:

  • wrap