import CloseIcon from 'mdi-react/CloseIcon';
import * as React from 'react';
export class Toast extends React.Component {
    render() {
        return (React.createElement("div", { className: "toast light" },
            React.createElement("div", { className: "toast__logo" }, this.props.icon),
            React.createElement("div", { className: "toast__contents" },
                React.createElement("h2", { className: "toast__contents-title" }, this.props.title),
                this.props.subtitle,
                this.props.cta && React.createElement("div", { className: "toast__contents-cta" }, this.props.cta)),
            React.createElement("button", { onClick: this.props.onDismiss, className: "toast__close-button btn btn-icon" },
                React.createElement(CloseIcon, { className: "icon-inline" }))));
    }
}
//# sourceMappingURL=Toast.js.map