mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 00:32:35 +10:00
23 lines
407 B
JavaScript
23 lines
407 B
JavaScript
import React from "react";
|
|
import Heading from "../../shared/Heading";
|
|
import List from "../lists/List";
|
|
|
|
const Social = ({ id, name, event }) => {
|
|
const path = `${id}.items`;
|
|
|
|
return (
|
|
<section>
|
|
<Heading>{name}</Heading>
|
|
|
|
<List
|
|
path={path}
|
|
event={event}
|
|
titlePath="network"
|
|
subtitlePath="username"
|
|
/>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default Social;
|