UPD: init product section

This commit is contained in:
John Huang@tthqws02 2021-11-15 17:20:32 -05:00
parent 8e6666ba35
commit 9cb7678c6c
3 changed files with 18 additions and 1 deletions

View File

@ -1,12 +1,14 @@
import React, { useState } from "react";
import "./home.css";
import { PayPal, Purchase, ShowCase, Home } from '.';
import { AllProducts} from "../products"
// component
const Details = () => {
return (
<>
<ShowCase />
<AllProducts />
<Purchase />
<PayPal />
</>

View File

@ -0,0 +1,15 @@
import React from 'react';
const AllProducts = ( ) => {
return (
<div className="container">
<hr />
<span className="danger">Fetch product list from https://api.oemautomation.com:3001 to this section.</span>
<hr />
</div>
);
}
export default AllProducts;

View File

@ -1 +1 @@
export {default as something} from './something';
export {default as AllProducts} from './allProducts';