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>
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>
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></div></section>
render() {
const { icon, xtraClassName } = this.props;
const iconComp = typeof icon === 'string' ? (predefinedIcons[icon] || faExclamation) : icon;
return (
<div>
<div>
<div>
<h4>
<span>
</span>
{this.props.title}
</h4>
<hr>
{this.props.content &&
<div>
{
typeof this.props.content === 'string'
? <p>{this.props.content}</p> : this.props.content
}
</div></div></div></div>
render() {
const { name, title, contacts, image } = this.props
return (
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<figure>
<img src="{image}">
</figure>
</div>
<div>
<h1>{name}</h1>
<h3>{title}</h3>
</div>
</div>
<div></div></div></div></div></div></div>
render() {
const { title, description, icon, groups } = this.props;
return (
<section title="{title}">
<div>
{groups.map((group) => {
const { sectionHeader, description, items } = group;
return (<div>
<div>
<div>
<h5>
{sectionHeader}
</h5>
<span> - {description}</span>
</div>
</div>
<hr>
<div>
{items.map((project) => {
const { projectUrl, title, description } = project;</div></div></div></section>
{groups.map((group) => {
const { sectionHeader, description, items } = group;
return (<div>
<div>
<div>
<h5>
{sectionHeader}
</h5>
<span> - {description}</span>
</div>
</div>
<hr>
<div>
{items.map((project) => {
const { projectUrl, title, description } = project;
return (
<div>
</div></div></div>
<span>
</span>
{this.props.title}
<hr>
{this.props.content &&
<div>
{
typeof this.props.content === 'string'
? <p>{this.props.content}</p> : this.props.content
}
</div>
}
{this.props.children &&
<div>
{this.props.children}
</div>
}
);
}
}
render() {
const { icon, xtraClassName } = this.props;
const iconComp = typeof icon === 'string' ? (predefinedIcons[icon] || faExclamation) : icon;
return (
<div>
<div>
<div>
<h4>
<span>
</span>
{this.props.title}
</h4>
<hr>
{this.props.content &&
<div>
{
typeof this.props.content === 'string'
? <p>{this.props.content}</p> : this.props.content
}
</div>
}
{this.props.children &&
<div></div></div></div></div>
render() {
const { name, title, contacts, image } = this.props
return (
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<figure>
<img src="{image}">
</figure>
</div>
<div>
<h1>{name}</h1>
<h3>{title}</h3>
</div>
</div>
<div>
<div>
</div>
</div>
</div>
</div>
</div></div>
</div>
);