mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
18 lines
344 B
JavaScript
18 lines
344 B
JavaScript
import React from 'react';
|
|
import Heading from '../../shared/Heading';
|
|
import List from '../lists/List';
|
|
|
|
const Hobbies = ({ id, name, event }) => {
|
|
const path = `${id}.items`;
|
|
|
|
return (
|
|
<section>
|
|
<Heading>{name}</Heading>
|
|
|
|
<List path={path} event={event} titlePath="name" />
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default Hobbies;
|