NotificationProvider.js 406 B

123456789101112
  1. import React from 'react';
  2. export var NotificationContext = /*#__PURE__*/React.createContext({});
  3. var NotificationProvider = function NotificationProvider(_ref) {
  4. var children = _ref.children,
  5. classNames = _ref.classNames;
  6. return /*#__PURE__*/React.createElement(NotificationContext.Provider, {
  7. value: {
  8. classNames: classNames
  9. }
  10. }, children);
  11. };
  12. export default NotificationProvider;