GoScrobble/web/node_modules/react-cookie/es6/CookiesContext.js

6 lines
241 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import * as React from 'react';
import Cookies from './Cookies';
var CookiesContext = React.createContext(new Cookies());
export var Provider = CookiesContext.Provider, Consumer = CookiesContext.Consumer;
export default CookiesContext;