Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
return (
<section>
<main>
<div>
{
this.props.sections.map((sectionDetails) => {
const { type } = sectionDetails;
const Comp = componnentMap[type] || Section; // Fallback to section for any case.
return
})
}
</div>
</main>
{this.props.branding && <div>
You can create your own CV like this. Try <a href="https://github.com/sbayd/react-cv">React-CV</a> now.
</div></section>