Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
React Components Example For Ecommerce Project
import "./App.css";
import Footer from "./components/Footer";
import Header from "./components/Header";
import Navbar from "./components/Navbar";
import Product from "./components/Product";
import Sidebar from "./components/Sidebar";
function App() {
return (
<div className="App">
<Header />
<Navbar />
<div className="row">
<div className="col-md-3">
<Sidebar />
<div className="col-md-9">
<Product />
<Footer />
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment