Alert component represents an alert box, which contains a message,
some controls, and may be dismissible.
The alert may have the following special props:
typeThe type of alert this is. Will be used to give the alert a class name of
controlsAn array of controls to show in the alert.
dismissibleWhether or not the alert can be dismissed.
ondismissA callback to run when the alert is dismissed.
All other props will be assigned as attributes on the alert element.
public view(): * source