@@ -23,8 +23,10 @@ var defaultAlert = {
2323action :'NOTE' ,
2424} ;
2525var styles = {
26- display :'inline-block' ,
27- margin :'0px 10px' ,
26+ snackbar :{
27+ display :'inline-block' ,
28+ margin :'0px 10px' ,
29+ } ,
2830} ;
2931var Alert = ( function ( _super ) {
3032__extends ( Alert , _super ) ;
@@ -33,8 +35,8 @@ var Alert = (function (_super) {
3335}
3436Alert . prototype . render = function ( ) {
3537var _a = this . props , alert = _a . alert , alertClose = _a . alertClose ;
36- var action = alert . action , message = alert . message , open = alert . open , duration = alert . duration , color = alert . color ;
37- return ( React . createElement ( Snackbar_1 . default , { style : styles , bodyStyle : { color : color } , open :open , action :action || 'NOTE' , message :message || '' , autoHideDuration :duration || 2000 , onActionTouchTap :alertClose , onRequestClose :alertClose } ) ) ;
38+ var action = alert . action , message = alert . message , open = alert . open , duration = alert . duration ;
39+ return ( React . createElement ( Snackbar_1 . default , { className : 'cr-alert ' + action , style : styles . snackbar , open :open , action :action || 'NOTE' , message :message || '' , autoHideDuration :duration || 2000 , onActionTouchTap :alertClose , onRequestClose :alertClose } ) ) ;
3840} ;
3941Alert = __decorate ( [
4042react_redux_1 . connect ( function ( state ) { return ( {