Skip to main content

Router

Router() ⇒ React.Component

This component sets up the routes for the application. It uses the createBrowserRouter function from react-router-dom to create the router. It defines routes for various pages like Home, Search, ProductForm, CategoryProducts, ProductEdit, SignIn, SignUp, Confirmation, ForgotPassword, Profile, EditProfile, Cart, PrivateRoute, ViewProduct, Wishlist, Orders, PremiumCheckout, Adverts, Stats, Checkout, AuthLayout, SignUpIdp, ProductReviews.

Kind: global function
Returns: React.Component - - The RouterProvider component with the created router.