import { useContext } from 'react';
import { SnackbarContext } from './SnackbarContext.mjs';

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

export { useSnackbar as default };
//# sourceMappingURL=useSnackbar.mjs.map
