Advertisement
Guest User

Untitled

a guest
Nov 5th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2. import { Context } from "../Services/Context";
  3.  
  4.  
  5. function ItemDetail() {
  6.   const { renderItemPage,itemDetails } = React.useContext(Context);
  7.  
  8.     return (
  9.         <React.Fragment>
  10.             {renderItemPage(itemDetails)}
  11.         </React.Fragment>
  12.     );
  13. }
  14.  
  15. export default ItemDetail;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement