SHARE
TWEET

components/pages/Product/CreateProduct/ProductContext.js

a guest Feb 20th, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2.  
  3. const initialState = {};
  4. const ProductContext = React.createContext(initialState);
  5.  
  6. export const ProductProvider = ProductContext.Provider;
  7. export const ProductConsumer = ProductContext.Consumer;
  8.  
  9. export default ProductContext;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top