-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathAbout.js
26 lines (22 loc) · 979 Bytes
/
About.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React from "react"
// import ProfileFunctionalComponent from "./ProfileFunctionComponent1"
// import ProfileClassComponent from "./ProfileClassComponent1"
// import ProfileFunctionalComponent from "./ProfileFunctionComponent2"
// import ProfileClassComponent from "./ProfileClassComponent2"
// import ProfileFunctionalComponent from "./ProfileFunctionComponent3"
// import ProfileClassComponent from "./ProfileClassComponent3"
import ProfileFunctionalComponent from "./ProfileFunctionComponent4"
import { Outlet } from "react-router-dom"
const About = () => {
return (
<div className="flex-container">
<h2 className="warning">About</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut, adipisci?</p>
<Outlet />
{/* <ProfileFunctionalComponent name="Ram111" address="India" /> */}
{/* <ProfileClassComponent name="Ram" address="India" /> */}
<ProfileFunctionalComponent />
</div>
)
}
export default About