Created the InfoArea.jsx
This commit is contained in:
13
client/src/common/components/InfoArea/InfoArea.jsx
Normal file
13
client/src/common/components/InfoArea/InfoArea.jsx
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
import "./styles.sass";
|
||||||
|
|
||||||
|
export const InfoArea = ({title, description, children}) => (
|
||||||
|
<div className="info-area">
|
||||||
|
<div className="title-area">
|
||||||
|
<h1>{title}</h1>
|
||||||
|
<div className="action-area">
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p>{description}</p>
|
||||||
|
</div>
|
||||||
|
)
|
Reference in New Issue
Block a user