react-redux-toastr
Version:
react-redux-toastr is a React toastr message implemented with Redux
12 lines (11 loc) • 558 B
JavaScript
export const ADD_TOASTR = '@ReduxToastr/toastr/ADD';
export const REMOVE_TOASTR = '@ReduxToastr/toastr/REMOVE';
export const CLEAN_TOASTR = '@ReduxToastr/toastr/CLEAN';
export const SHOW_CONFIRM = '@ReduxToastr/confirm/SHOW';
export const HIDE_CONFIRM = '@ReduxToastr/confirm/HIDE';
export const REMOVE_BY_TYPE = '@ReduxToastr/toastr/REMOVE_BY_TYPE';
// before add a new transition - check its presence in src/styles/animations.scss
export const TRANSITIONS = {
in: ['bounceIn', 'bounceInDown', 'fadeIn'],
out: ['bounceOut', 'bounceOutUp', 'fadeOut']
};