Header Button

Page Header component.

Props

imgSrc String

URL address of the button image.

imgAlt String

Alternative text for the image.

icon String

Icon name to be entered on the button. If not specified, no icon will be inserted.

default: icon

iconAlign String

class name 'material-icons' for icon alignment.

default: ' '

text String

Text button if imgSrc is not set.

default: undefined

href String

Address of the link button.

default: undefined

target String

Attribute target tag a to.

default: undefined

onClick Function

Function callback executed when receiving the click event.

default: function(event) {}

ref String

Reference name for the component.

default: undefined