Files
Reactive-Resume/src/components/builder/sections/Hobbies.js
Amruth Pillai 9e98da038c - implementing hobby, language and reference sections
- dynamic template selection
2020-07-09 10:41:16 +05:30

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;