'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var React = require('react');
var SnackbarContext = require('./SnackbarContext.js');

function useSnackbar() {
  const {
    createSnackbar
  } = React.useContext(SnackbarContext.SnackbarContext);
  return createSnackbar;
}

exports.default = useSnackbar;
//# sourceMappingURL=useSnackbar.js.map
