'use strict';

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

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

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